/*
 * Elite Domain Hunter - Main Styles
 */

/* Global Styles */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--info-color) 100%);
    color: white;
    padding: 80px 0;
}

.hero-section h1 {
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

/* Step Numbers */
.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--info-color) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto;
}

/* Cards - تم التعطيل لتجنب التعارض مع Bootstrap */
/* .card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
} */

/* .card-header {
    border-radius: 10px 10px 0 0 !important;
    font-weight: 600;
} */

/* Domain Cards - تم تعطيل هذه التنسيقات لصالح domains-grid.css */
/* .domain-card {
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.domain-card.available {
    border-left-color: var(--success-color);
}

.domain-card.taken {
    border-left-color: var(--danger-color);
}

.domain-card.analyzing {
    border-left-color: var(--warning-color);
} */

/* Status Badges */
.status-badge {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    position: relative;
    display: inline-block;
}

/* Status Badge داخل الجداول */
table .status-badge {
    position: static !important;
    display: inline-block !important;
    margin: 0 !important;
}

.status-available {
    background-color: rgba(25, 135, 84, 0.1);
    color: var(--success-color);
}

.status-taken {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
}

.status-analyzing {
    background-color: rgba(255, 193, 7, 0.1);
    color: var(--warning-color);
}

.status-pending {
    background-color: rgba(108, 117, 125, 0.1);
    color: var(--secondary-color);
    font-size: 12px;
    padding: 4px 10px;
    font-weight: 600;
}

/* Score Badge */
.score-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Score Badge داخل الجدول */
table .score-badge {
    width: auto;
    height: auto;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    min-width: 40px;
}

.score-high {
    background-color: var(--success-color);
    color: white;
}

.score-medium {
    background-color: var(--warning-color);
    color: white;
}

.score-low {
    background-color: var(--danger-color);
    color: white;
}

/* Welcome Section */
.welcome-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--info-color) 100%);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 8px 16px rgba(13, 110, 253, 0.15);
    animation: fadeInUp 0.5s ease-out;
    position: relative;
    z-index: 1;
}

.welcome-section h1 {
    color: white;
    font-weight: 700;
    margin-bottom: 10px;
}

.welcome-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dashboard Stats */
.stat-card {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* User Dropdown Menu */
.dropdown-menu {
    z-index: 9999 !important;
}

/* Navbar Styles */
.navbar {
    position: relative;
    z-index: 1000 !important;
}

/* Dropdown Button */
.dropdown-toggle {
    cursor: pointer;
}

/* Dropdown Menu Position */
.navbar .dropdown-menu {
    position: absolute;
    right: 0;
    left: auto;
    min-width: 200px;
    margin-top: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.15);
    background-color: #fff;
    background-clip: padding-box;
}

/* Ensure dropdown is visible */
.dropdown-menu.show {
    display: block;
    opacity: 1;
    visibility: visible;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card .stat-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-card .stat-label {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Upload Area */
.upload-area {
    border: 2px dashed var(--primary-color);
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    background-color: rgba(13, 110, 253, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover,
.upload-area.dragover {
    background-color: rgba(13, 110, 253, 0.1);
    border-color: var(--info-color);
}

.upload-area i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Progress Bar */
.progress {
    height: 25px;
    border-radius: 12.5px;
    background-color: #e9ecef;
    overflow: hidden;
}

.progress-bar {
    line-height: 25px;
    font-weight: 600;
}

/* Loading Spinner */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner-overlay .spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Tables */
.table {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
}

.table thead {
    background-color: var(--primary-color);
    color: white;
}

/* Forms */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Buttons */
.btn {
    border-radius: 5px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Alerts */
.alert {
    border-radius: 10px;
    border: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .stat-card .stat-icon {
        font-size: 2rem;
    }
    
    .stat-card .stat-value {
        font-size: 1.5rem;
    }
}
