.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.login-overlay.active {
    opacity: 1;
    visibility: visible;
}

.login {
    width: 420px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    border: 1px solid rgba(218,118,57,0.2);
    transform: scale(0.8) translateY(20px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.login-overlay.active .login {
    transform: scale(1) translateY(0);
}



.login-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5em;
    color: #999;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.login-close:hover {
    color: #da7639;
    background: rgba(218,118,57,0.1);
}

.login-content {
    padding: 50px 35px 40px;
}

.login h1 {
    text-align: center;
    color: #232325;
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.input-box {
    position: relative;
    width: 100%;
    height: 50px;
    margin: 25px 0;
}

.input-box input {
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    border: 2px solid #f3f3f3;
    border-radius: 12px;
    padding: 0 50px 0 20px;
    color: #232325;
    font-size: 1em;
    transition: all 0.3s ease;
}

.input-box input:focus {
    border-color: #da7639;
    box-shadow: 0 0 0 4px rgba(218,118,57,0.1);
    background: white;
}

.input-box input::placeholder {
    color: #999;
}

.input-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #da7639;
    font-size: 1.1em;
}

.login .btn {
    width: 100%;
    background:#da7639;
    color: white;
    border: none;
    border-radius: 12px;
    height: 50px;
    font-weight: 700;
    font-size: 1.05em;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(218,118,57,0.3);
    margin: 10px 0;
}

.login .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(218,118,57,0.4);
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    font-size: 0.95em;
    margin: 20px 0;
    color: #666;
}

.remember-forgot label input { 
    margin-right: 8px;
    accent-color: #da7639; 
}

.remember-forgot a {
    color: #da7639;
    text-decoration: none;
    font-weight: 500;
}

.remember-forgot a:hover { text-decoration: underline; }

.register-form {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 0.98em;
}

.register-form a {
    margin-left: 5px;
    color: #da7639;
    font-weight: 600;
    text-decoration: none;
}

.register-form a:hover { text-decoration: underline; }

.profil-jmeno {
  color: #232325;
  font-size: 1.6em;
  font-weight: 700;
  text-align: center;
  margin: 10px 0;
}

.profil-email {
  color: #666;
  font-size: 1em;
  text-align: center;
  margin: 15px 0;
}


#profilView h1 {
  color: #da7639 !important;
  text-align: center;
}
