﻿body {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    min-height: 100vh;
    font-family: 'Almarai', sans-serif;
    color: #fff;
}

.glass-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.15);
    animation: fadeIn 0.8s ease-out;
}

.title {
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.subtitle {
    text-align: center;
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.input-group input, .input-group select {
    border-radius: 12px !important;
    padding: 0.9rem;
    border: none;
    box-shadow: 0 0 10px rgba(255,255,255,0.1);
}

.btn-scan {
    background: #ffb347;
    background: linear-gradient(45deg, #ffb347, #ffcc33);
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    transition: 0.3s;
    width: 100%;
}

    .btn-scan:hover {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(255,204,51,0.6);
    }

.result-card {
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    animation: slideUp 0.6s ease-out;
    border: 1px solid rgba(255,255,255,0.15);
}

.result-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge-custom {
    background: #00c853;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

@@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* تعديل لون اسم النطاق */
.domain-name {
    color: #111 !important;
    font-weight: bold;
    font-size: 1.2rem;
}

/* جعل النص داخل البطاقات بلون داكن */
.card.card-body,
.result-card {
    color: #111 !important; /* أسود داكن */
}

    /* النصوص الثانوية داخل النتائج */
    .card.card-body .text-muted,
    .result-card .text-muted {
        color: #333 !important;
    }

    /* القيم البارزة */
    .card.card-body .fw-semibold,
    .result-card .fw-semibold {
        color: #000 !important;
    }


/* بطاقة النتائج بنفس تصميم البطاقة الأولى */
.results-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.15);
    animation: fadeIn 0.8s ease-out;
}

/* خلفية الجدول بنفس لون زر الفحص */
.results-table {
    background: linear-gradient(45deg, #ffb347, #ffcc33);
    border-radius: 16px;
    padding: 1rem;
    color: #111;
}

    /* صفوف الجدول */
    .results-table table {
        width: 100%;
        border-collapse: collapse;
    }

    .results-table th,
    .results-table td {
        padding: 12px 10px;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        font-size: 1rem;
    }

    /* عناوين الجدول */
    .results-table th {
        font-weight: bold;
        color: #000;
    }

/* أيقونات بنفس لون الزر */
.icon-yellow {
    color: #ffcc33 !important;
    font-size: 1.2rem;
}

/* عنوان القسم */
.section-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}


/* بطاقة النتائج بنفس البطاقة الأولى */
.results-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.15);
    animation: fadeIn 0.8s ease-out;
}

/* جدول داخل البطاقة */
.results-table {
    background: transparent; /* لا نريد أي لون إضافي */
    border-radius: 16px;
    padding: 1rem;
    color: #ffcc33; /* لون النص مثل زر الفحص */
}

    /* جدول منسق */
    .results-table table {
        width: 100%;
        border-collapse: collapse;
    }

    .results-table th,
    .results-table td {
        padding: 12px 10px;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        font-size: 1rem;
        color: #ffcc33; /* النص بلون الزر */
    }

    .results-table th {
        font-weight: bold;
    }

/* أيقونات بنفس لون الزر */
.icon-yellow {
    color: #ffcc33 !important;
    font-size: 1.3rem;
}

/* عنوان القسم */
.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

/* أيقونات النجاح والفشل */
.icon-success {
    color: #00e676 !important;
}

.icon-fail {
    color: #ff1744 !important;
}

.section-divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.25);
    margin: 2rem 0;
    border-radius: 2px;
}