/* TimeWall - Offerwall Modal Styles */

.timewall-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: var(--space-md);
    backdrop-filter: blur(4px);
}

.timewall-modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: timewallModalSlideIn 0.3s ease;
}

@keyframes timewallModalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.timewall-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--border);
    background: var(--bg-tertiary);
}

.timewall-modal-header h3 {
    margin: 0;
    font-size: var(--font-md);
    font-weight: 700;
    color: var(--text);
}

.timewall-close-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: var(--radius-full);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.timewall-close-btn:hover {
    background: var(--error);
    color: white;
}

.timewall-modal-body {
    flex: 1;
    overflow-y: auto;
    min-height: calc(80vh - 60px);
}

.timewall-modal-body iframe {
    width: 100%;
    height: calc(80vh - 60px);
    min-height: 600px;
    border: none;
}

.timewall-modal-footer {
    padding: var(--space-md);
    border-top: 1px solid var(--border);
    text-align: center;
}

.timewall-hint {
    margin: 0;
    font-size: var(--font-sm);
    color: var(--text-secondary);
}

.timewall-hint-small {
    margin: var(--space-xs) 0 0;
    font-size: var(--font-xs);
    color: var(--text-muted);
}

.timewall-done-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-lg);
    font-size: var(--font-md);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.timewall-done-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.timewall-clicks-modal .timewall-modal-header h3 {
    font-size: var(--font-sm);
}