/* Login Page Styles - Fish/Marine Theme */

.login-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.ocean-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a4d68 0%, #088395 25%, #05bfdb 50%, #00d9ff 75%, #0ea5e9 100%);
    z-index: 0;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") repeat-x;
    animation: wave-animation 15s linear infinite;
}

.wave1 {
    bottom: 0;
    opacity: 0.7;
    animation-duration: 15s;
}

.wave2 {
    bottom: 20px;
    opacity: 0.5;
    animation-duration: 20s;
    animation-direction: reverse;
}

.wave3 {
    bottom: 40px;
    opacity: 0.3;
    animation-duration: 25s;
}

@keyframes wave-animation {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.bubble {
    position: absolute;
    bottom: -50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: bubble-rise linear infinite;
}

.bubble1 {
    width: 40px;
    height: 40px;
    left: 10%;
    animation-duration: 8s;
    animation-delay: 0s;
}

.bubble2 {
    width: 60px;
    height: 60px;
    left: 30%;
    animation-duration: 10s;
    animation-delay: 2s;
}

.bubble3 {
    width: 30px;
    height: 30px;
    left: 50%;
    animation-duration: 7s;
    animation-delay: 1s;
}

.bubble4 {
    width: 50px;
    height: 50px;
    left: 70%;
    animation-duration: 9s;
    animation-delay: 3s;
}

.bubble5 {
    width: 35px;
    height: 35px;
    left: 85%;
    animation-duration: 11s;
    animation-delay: 1.5s;
}

.bubble6 {
    width: 45px;
    height: 45px;
    left: 20%;
    animation-duration: 12s;
    animation-delay: 4s;
}

@keyframes bubble-rise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-100vh) scale(1.5);
        opacity: 0;
    }
}

.page-header {
    position: relative;
    z-index: 1;
    padding: 2rem 1rem;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 
                0 0 0 1px rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: card-float 6s ease-in-out infinite;
}

.login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4), 
                0 0 0 1px rgba(255, 255, 255, 0.3);
}

@keyframes card-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.login-card-header {
    text-align: center;
    padding: 2.5rem 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(8, 131, 149, 0.1) 0%, rgba(5, 191, 219, 0.1) 100%);
}

.logo-container {
    margin-bottom: 1rem;
}

.fish-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(8, 131, 149, 0.3));
    animation: logo-float 3s ease-in-out infinite;
}

@keyframes logo-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(5deg); }
}

.login-title {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #088395 0%, #05bfdb 50%, #00d9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.language-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.lang-link {
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.lang-link:hover,
.lang-link.active {
    color: #088395;
    background: rgba(8, 131, 149, 0.1);
    font-weight: 600;
}

.lang-separator {
    color: #cbd5e1;
}

.login-card-body {
    padding: 2rem;
}

.form-group-wrapper {
    margin-bottom: 1.5rem;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1e293b;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.form-label i {
    color: #088395;
    font-size: 1rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: #088395;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(8, 131, 149, 0.1);
}

.input-wrapper.error {
    border-color: #ef4444;
    background: #fef2f2;
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: #64748b;
    font-size: 1.1rem;
    z-index: 1;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: none;
    background: transparent;
    color: #1e293b;
    font-size: 1rem;
    outline: none;
}

.form-input::placeholder {
    color: #94a3b8;
}

.error-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.form-options {
    margin-bottom: 1.5rem;
}

.remember-me-wrapper {
    display: flex;
    align-items: center;
}

.remember-checkbox {
    display: none;
}

.remember-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    color: #64748b;
    font-size: 0.9rem;
    user-select: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remember-checkbox:checked + .remember-label .checkbox-custom {
    background: linear-gradient(135deg, #088395 0%, #05bfdb 100%);
    border-color: #088395;
}

.remember-checkbox:checked + .remember-label .checkbox-custom::after {
    content: '✓';
    color: white;
    font-weight: bold;
    font-size: 0.875rem;
}

.login-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #088395 0%, #05bfdb 50%, #00d9ff 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(8, 131, 149, 0.4);
    position: relative;
    overflow: hidden;
}

.login-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.login-button:hover::before {
    left: 100%;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 131, 149, 0.5);
}

.login-button:active {
    transform: translateY(0);
}

.login-button i {
    transition: transform 0.3s ease;
}

.login-button:hover i {
    transform: translateX(4px);
}

.login-card-footer {
    padding: 1.5rem 2rem;
    text-align: center;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.footer-text {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
}

.forgot-link {
    color: #088395;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: #05bfdb;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .login-card {
        margin: 1rem;
        border-radius: 20px;
    }
    
    .login-card-header {
        padding: 2rem 1.5rem 1rem;
    }
    
    .login-card-body {
        padding: 1.5rem;
    }
    
    .login-title {
        font-size: 1.75rem;
    }
    
    .fish-logo {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 576px) {
    .login-card-header {
        padding: 1.5rem 1rem 1rem;
    }
    
    .login-card-body {
        padding: 1.25rem;
    }
    
    .login-title {
        font-size: 1.5rem;
    }
}

