﻿/* Login Container */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background: #f5f5f5;*/
    padding: 20px;
}

.login-wrapper {
    display: flex;
    max-width: 1400px;
    width: 100%;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Left Side - Form */
.login-left {
    flex: 1;
    padding: 60px 80px;
    display: flex;
    align-items: center;
}

.login-form-container {
    width: 100%;
    max-width: 480px;
}

.login-title {
    font-size: 32px;
    font-weight: 700;
    color: #1E1E1E;
    margin-bottom: 12px;
    text-align: center
}

.login-subtitle {
    font-size: 15px;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 40px;
    text-align: center;
}

/* Form Styles */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 1px solid #D1D5DB;
    border-radius: 12px;
    transition: all 0.3s ease;
}

    .form-input:focus {
        outline: none;
        border-color: #3B82F6;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    }

    .form-input::placeholder {
        color: #9CA3AF;
    }

/* Password Field */
.password-wrapper {
    position: relative;
}

    .password-wrapper .form-input {
        padding-right: 48px;
    }

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #6B7280;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

    .toggle-password:hover {
        color: #374151;
    }

/* Login Button */
.btn-login {
    width: 100%;
    padding: 16px;
    background: #FDB913;
    color: #000;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

    .btn-login:hover {
        background: #F5AB00;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(253, 185, 19, 0.3);
    }

    .btn-login:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

/* Footer Link */
.login-footer {
    text-align: center;
    margin-top: 24px;
}

.link-sso {
    color: #3B82F6;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

    .link-sso:hover {
        color: #2563EB;
        text-decoration: underline;
    }

/* Right Side - Image */
.login-right {
    flex: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    min-height: 590px;
    min-width: 570px;
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.students-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Floating Cards */
.float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    animation: float 3s ease-in-out infinite;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .card-icon svg {
        stroke: white;
    }

.card-text {
    line-height: 1.4;
}

.card-title {
    font-size: 13px;
    font-weight: 600;
    color: #1E1E1E;
}

.card-subtitle {
    font-size: 12px;
    color: #6B7280;
}

.card-1 {
    top: 60px;
    left: 40px;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    animation-delay: 1s;
}

.card-3 {
    bottom: 60px;
    right: 60px;
    animation-delay: 2s;
}

/* Distance Markers */
.distance-marker {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: white;
    font-size: 12px;
    font-weight: 600;
}

.marker-1 {
    top: 40px;
    right: 80px;
}

.marker-2 {
    top: 140px;
    left: 60px;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .login-wrapper {
        flex-direction: column;
    }

    .login-left {
        padding: 40px 30px;
    }

    .login-right {
        min-height: 400px;
    }

    .float-card {
        padding: 12px 16px;
    }

    .card-1, .card-2, .card-3 {
        position: static;
        margin: 10px;
        animation: none;
    }
}

@media (max-width: 768px) {
    .login-title {
        font-size: 24px;
    }

    .login-subtitle {
        font-size: 14px;
    }

    .login-left {
        padding: 30px 20px;
    }

    .login-right {
        display: none;
    }
}

/* Validation Errors */
.text-danger {
    color: #DC2626;
    font-size: 13px;
    margin-top: 4px;
    display: block;
}

.line-text {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 4px 0;
}

    .line-text span {
        font-weight: bold;
    }

    .line-text::before,
    .line-text::after {
        content: " ";
        flex: 1;
        border-bottom: 1px solid #666666;
        margin: 0 2px;
    }

.login-footer {
    border-radius: 6px;
    border: 1px solid #007AFF;
    padding: 0;
    overflow: hidden;
}

.link-vneid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    text-decoration: none;
    color: #007AFF;
    background-color: transparent;
    width: 100%;
    min-height: 41px;
    font-size: 15px;
    transition: background-color 0.2s;
    border: none;
}

    .link-vneid:hover {
        background-color: rgba(0, 122, 255, 0.05);
    }

.vneid-icon {
    /* width: 24px;
    height: 24px;*/
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 576px) {
    .link-vneid {
        font-size: 14px;
        padding: 8px 12px;
        gap: 6px;
    }

    .vneid-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 400px) {
    .link-vneid span {
        font-size: 13px;
    }
}
