/* premium-lock.css - تنسيقات نظام حماية المحتوى المميز */

@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");

.premium-overlay {
    width: inherit;
    justify-self: center;
    margin: 1rem auto;
    padding: 1rem;
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: "Rubik", sans-serif;
}

.premium-message {
    color: #333;
    font-size: 1rem;
    margin: 5px 0;
    line-height: 1.5;
    padding: 0 10px;
}

.premium-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    /* margin-bottom: 1rem; */
    text-align: center;
}

.premium-features {
	font-family:"Rubik", sans-serif !important;
    background: #f8f9fa;
    padding: 0.5rem;
	direction: rtl;
    border-radius: 0.8rem;
    margin-bottom: 2rem;
}

.premium-features h2 {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.premium-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

.premium-features li {
    color: #555;
    margin: 0.8rem 0;
    font-size: 1rem;
}

.premium-actions {
    display: flex;
    flex-direction: column;
    /* gap: 1rem; */
}

.submit-btn {
    display: inline-block;
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    margin-bottom: 10px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.premium-btn {
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: #000;
}

.premium-btn:hover {
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.login-btn {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
}

.login-btn:hover {
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

/* Modify premium badge for PDF feature */
#premiumContent {
    position: relative;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.logo-icon {
    font-size: 2.5rem;
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo h1 {
    color: #e0e6ed;
    font-size: 1.8rem;
    margin: 0;
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    color: #b0b7c3;
    font-size: 1.1rem;
    margin-top: 10px;
}

.premium-content {
    text-align: center;
}

/* أنماط مؤشر التحميل */
.loading-indicator {
    position: static;
    margin: 0.5rem auto;
    border-radius: 0.8rem;
    top: 0;
    left: 0;
    width: fit-content;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-indicator .spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-indicator p {
    font-size: 18px;
    margin: 10px 0;
    text-align: center;
}


.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-left-color: #4facfe;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


.error-message {
    text-align: center;
    padding: 30px;
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 12px;
    margin: 20px 0;
}

.retry-btn {
    display: inline-block;
    padding: 10px 25px;
    background: #e74c3c;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    margin-top: 15px;
    transition: background 0.2s ease;
}

.retry-btn:hover {
    background: #c0392b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .premium-overlay {
        margin: 1rem;
        padding: 1.5rem;
    }

    .premium-features {
        padding: 1.2rem;
    }

    .premium-features h2 {
        font-size: 1.2rem;
    }

    .premium-features li {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .premium-overlay {
        padding: 1rem;
    }

    .premium-features {
        padding: 1rem;
    }

    .premium-features h2 {
        font-size: 1.1rem;
    }

    .premium-features li {
        font-size: 0.85rem;
        margin: 0.6rem 0;
    }
} 
