.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.content-wrapper
{
    justify-content: center;
}

.auth-container {
    width: 100%;
    max-width: 450px;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.auth-header {
    text-align: center;
    padding: 40px 40px 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
}

.auth-logo {
    margin-bottom: 20px;
}

.logo-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.auth-title {
    font-size: 25px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 8px;
    background: #d4152f;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-subtitle {
    color: #718096;
    font-size: 16px;
    margin: 0;
}

.auth-body {
    padding: 0 40px 40px;
}

.alert-modern {
    border: none;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.auth-form {
    margin-top: 20px;
}

.form-group-modern {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
}

.input-group-modern {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    z-index: 2;
    color: #a0aec0;
    font-size: 16px;
}

.form-control-modern {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #f7fafc;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
}

.form-control-modern:focus {
    border-color: #d4152f;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control-modern.is-invalid {
    border-color: #f56565;
    background: #fed7d7;
}

.input-action {
    position: absolute;
    right: 16px;
    z-index: 2;
}

.toggle-password {
    background: none;
    border: none;
    color: #a0aec0;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #d4152f;
}

.error-message {
    margin-top: 8px;
    color: #e53e3e;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.checkbox-modern {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #4a5568;
    position: relative;
    padding-left: 28px;
}

.checkbox-modern input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #e2e8f0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.checkbox-modern:hover .checkmark {
    background-color: #cbd5e0;
}

.checkbox-modern input:checked ~ .checkmark {
    background: linear-gradient(135deg, #d4152f, #e84258);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.checkbox-modern input:checked ~ .checkmark:after {
    display: block;
}

.forgot-link {
    color: #d4152f;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.btn-modern {
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #d4152f, #e84258);
    color: white;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
}

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

.btn-icon {
    transition: transform 0.3s ease;
}

.btn-modern:hover .btn-icon {
    transform: translateX(4px);
}

.auth-footer {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.auth-footer p {
    margin: 0;
    color: #718096;
    font-size: 14px;
}

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

.register-link:hover {
    color: #e84258;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .auth-wrapper {
        padding: 10px;
    }
    
    .auth-header,
    .auth-body {
        padding-left: 24px;
        padding-right: 24px;
    }
    
    .auth-title {
        font-size: 24px;
    }
}