:root {
    --primary-color: #4a90e2;
    --secondary-color: #2c3e50;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
}

body {
    font-family: 'Tajawal', sans-serif;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 20px;
}
.btn-group-toggle .btn-switch {
    flex: 1;
    text-align: center;
    border-radius: 30px;
    padding: 10px 20px;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ccc;
    word-break:normal;
}

.btn-group-toggle .btn-switch.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-color: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.auth-toggle-container {
    max-width: 400px;
    margin: auto;
}
.auth-container {
    max-width: 800px;
    width: 100%;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
}

.auth-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 30px;
    text-align: center;
}

.auth-header h2 {
    margin: 0;
    font-weight: 700;
}

.auth-body {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #e1e5ea;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.input-group-text {
    background: var(--light-bg);
    border: 1px solid #e1e5ea;
    border-right: none;
}

.input-group .form-control {
    border-left: none;
}

.alert {
    border-radius: 8px;
    border: none;
    padding: 12px 15px;
}

.nav-tabs {
    border: none;
    margin-bottom: 20px;
}

.nav-tabs .nav-link {
    border: none;
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 8px;
    margin: 0 5px;
}

.nav-tabs .nav-link.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

@media (max-width: 576px) {
    .auth-container {
        margin: 20px;
    }
    
    .auth-header {
        padding: 20px;
    }
    
    .auth-body {
        padding: 20px;
    }
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
}
.modal-header {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    border-radius: 15px 15px 0 0;
    border: none;
}
.modal-body {
    padding: 30px;
    text-align: center;
}
.expired-icon {
    font-size: 4rem;
    color: #dc3545;
    margin-bottom: 20px;
}
.btn-subscribe {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    border-radius: 10px;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin: 10px;
    transition: all 0.3s ease;
}
.btn-subscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(40, 167, 69, 0.3);
}
.btn-cancel {
    background: #6c757d;
    border: none;
    border-radius: 10px;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin: 10px;
    transition: all 0.3s ease;
}
.btn-cancel:hover {
    background: #5a6268;
    transform: translateY(-2px);
}
