/* Modern Auth Styles */
.auth-container {
    min-height: 100vh;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    overflow: hidden;
    max-width: 900px;
    width: 100%;
}

.register-card {
    max-width: 1000px;
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.12);
    border: none;
    border-radius: 10px;
}

.login-row {
    min-height: 550px;
}

.login-image-col {
    background: linear-gradient(135deg, #4a68f9, #355bd8);
    color: white;
    padding: 0;
}

.login-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.login-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.login-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 104, 249, 0.75), rgba(53, 91, 216, 0.75));
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
}

.login-image-text {
    z-index: 3;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.dmc-title {
    font-weight: 700;
    font-size: 2rem;
    color: #fff;
}

.dmc-desc {
    font-size: 1.1rem;
    color: #e0e6f8;
}

.dmc-quotes {
    font-style: italic;
    margin-top: 3rem;
    position: relative;
    padding-left: 1rem;
    border-left: 3px solid rgba(255, 255, 255, 0.3);
}

.dmc-quotes p {
    font-size: 1.15rem;
    font-style: italic;
    font-weight: 500;
    color: #fff;
}

.dmc-signature {
    color: #e0e6f8;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.home-link {
    color: #6c757d;
    text-decoration: none;
    transition: all 0.2s;
}

.home-link:hover {
    color: #4a68f9;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .login-image-col {
        display: none !important;
    }
}

.login-form-col {
    padding: 3rem 2.5rem;
}

.register-form-col {
    padding: 2rem 2rem;
    max-height: 85vh;
    overflow-y: auto;
}

.login-title {
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

.login-subtitle {
    color: #6c757d;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

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

.form-floating > label {
    color: #6c757d;
}

.form-control {
    border-radius: 5px;
    padding: 0.75rem;
    font-size: 0.95rem;
    border-color: #dee2e6;
    box-shadow: none;
    transition: all 0.2s ease-in-out;
}

.form-control:focus {
    border-color: #4a68f9;
    box-shadow: 0 0 0 0.25rem rgba(74, 104, 249, 0.25);
}

.form-label {
    font-weight: 500;
    color: #344767;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.login-btn {
    background-color: #4a68f9;
    border-color: #4a68f9;
    border-radius: 5px;
    padding: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(74, 104, 249, 0.2);
}

.login-btn:hover {
    background-color: #355bd8;
    border-color: #355bd8;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.login-footer {
    margin-top: 2rem;
    text-align: center;
    color: #6c757d;
}

.login-link {
    color: #4a68f9;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.login-link:hover {
    color: #355bd8;
    text-decoration: underline;
}

.input-group-text {
    background-color: transparent;
    border-right: 0;
    color: #6c757d;
}

.form-control {
    border-left: 0;
}

.toggle-password {
    border-color: #dee2e6;
    border-left: 0;
    background-color: white;
    color: #6c757d;
}

.toggle-password:hover {
    background-color: #f8f9fa;
    color: #4a68f9;
}

.login-features {
    margin-top: 2rem;
    border-top: 1px solid #e9ecef;
    padding-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(74, 104, 249, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: #4a68f9;
}

/* Custom scrollbar for the form area */
.register-form-col::-webkit-scrollbar {
    width: 6px;
}

.register-form-col::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.register-form-col::-webkit-scrollbar-thumb {
    background: #bbbbbb;
    border-radius: 10px;
}

.register-form-col::-webkit-scrollbar-thumb:hover {
    background: #999999;
}
