@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body.authentication-bg {
    background: url('../images/bg-login-new.png') no-repeat center center fixed;
    background-size: cover;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.authentication-wrapper {
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
}

.authentication-inner {
    width: 100%;
    max-width: 450px;
    z-index: 10;
}

.authentication-inner .card {
    border: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transition: all 0.3s ease;
}

.authentication-inner .card-body {
    padding: 2.5rem;
}

.app-brand {
    margin-bottom: 2rem;
}

.app-brand-text {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--text-heading) !important;
}

h4 {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

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

/* Input Styles */
.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.input-group-custom {
    position: relative;
    margin-bottom: 1.25rem;
}

.input-group-custom i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 1.2rem;
}

.input-group-custom .form-control {
    padding: 12px 20px 12px 50px;
    border-radius: 30px;
    border: 2px solid #e9ecef;
    background: #ffffff;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    height: auto;
}

.input-group-custom .form-control:focus {
    border-color: #696cff;
    box-shadow: 0 0 15px rgba(105, 108, 255, 0.15);
    background: #fff;
    outline: none;
}

.input-group-custom .form-control:focus + i {
    color: #696cff;
}

/* Button Stylings */
.btn-primary {
    background: linear-gradient(135deg, #696cff 0%, #4338ca 100%);
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(105, 108, 255, 0.3);
    color: #fff;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(105, 108, 255, 0.4);
    filter: brightness(1.1);
}

.btn-primary:active {
    transform: translateY(0);
}

.form-check-input {
    width: 1.1em;
    height: 1.1em;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #696cff;
    border-color: #696cff;
}

.form-check-label {
    cursor: pointer;
    font-size: 0.9rem;
    color: #495057;
}

#link-forgot-password {
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

#link-forgot-password:hover {
    color: #4338ca !important;
}

.text-center a {
    color: #696cff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.text-center a:hover {
    color: #4338ca;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .authentication-inner .card-body {
        padding: 2rem 1.5rem;
    }
    
    .authentication-inner {
        max-width: 90%;
    }
}
