/* حاوية الكروت */
/* الكرت المدمج */
.combined-card {
    border-radius: 0.5rem;
    border-top: 3px solid #d6e1ee;
    border-right: 2px solid #d6e1ee;
    overflow: hidden;
    /* لمنع ظهور أي مسافات بين الأقسام */
    box-shadow: 0 5px 7px rgba(0, 0, 0, 0.233);

}

/* الأقسام داخل الكرت */
.card-section {
    padding: 1.5rem 2rem;
    min-height: 100px;


}

.card_color {
    padding: 1.5rem 2rem;
    min-height: 100px;
    background: rgba(27, 197, 189, 0.08);
    border-right: 5px solid #1BC5BD;

    padding: 16px 18px;
    margin: 10px 0;

    border-radius: 10px;

    color: #0F172A;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ألوان الأقسام */
.card-blue {
    /* background-color: #2182dd; */
    /* backgound.jpg */

    background-image: url('../images/backgound.jpg');
    color: white;
    border-radius: 0.5rem 0.5rem 0 0;
}

.main-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    /* padding-left: 0.8rem; */
    color: #15978c;
    /* border-bottom: 4px solid #1BC5BD; */
    text-transform: capitalize;
}



.card-cadet {
    /* background-color: rgb(255, 255, 255); */
    background-color: #ffffff;
    /* bg-white */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* shadow-md */
    border-radius: 0.5rem;
    /* rounded */
    padding: 1.5rem 2rem 2rem;


}


/* إزالة الهوامش الداخلية من العناوين */
.title2 {
    margin: 0 0 1rem 0;
}



/* تنسيق الفورم داخل القسم الثاني */
.form-group {
    margin-bottom: 1rem;

}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.stat-box {
    background: #fff;
    border-radius: 12px;
    padding: 10px 12px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.08);
    border-right: 5px solid rgb(27, 197, 189);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
}

.stat-info h3 {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.stat-info p {
    margin: 5px 0 0;
    font-size: 26px;
    font-weight: bold;
    color: #1f2937;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgb(27, 197, 189);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
}



.form-group input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #cbd5e0;
    /* gray border */
    border-radius: 0.25rem;
    font-size: large;
    color: #4a5568;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
    outline: none;
}

.form-group input:focus {
    border-color: #3182ce;
    /* blue-500 */
    box-shadow: 0 0 0 2px rgba(66, 153, 225, 0.3);
    /* focus shadow */
}

/* Error */
.error {
    color: #f56565;
    /* red-500 */
    font-size: 1rem;
    /* text-xs */
    /* font-style: italic; */
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: flex-start;
    /* original: items-left */
}

.form-actions button {
    background-color: #4299e1;
    /* blue-500 */
    color: #ffffff;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-actions button:hover {
    background-color: #2b6cb0;
    /* blue-700 */
}

/* Notification */
.notification {
    background-color: #fff5f5;
    /* red-100 */
    border: 1px solid #f56565;
    /* red-400 */
    color: #c53030;
    /* red-700 */
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    margin-top: 1rem;
}



input[type="text"],
input[type="number"] {
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid #ccc;
}

button {
    padding: 0.5rem 1rem;
    border: none;
    background-color: #225ea8;
    color: #fff;
    border-radius: 0.25rem;
    cursor: pointer;
}

button:hover {
    background-color: #1b4f8a;
}

/* @media (max-width: 1024px) {
    .combined-card {
        flex-direction: column;

        }
        
} */

/* الشاشات الكبيرة */
@media (min-width: 992px) {
    .combined-card {
        display: flex;
        border-radius: 0.5rem;
        overflow: hidden;
        flex-direction: row;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        justify-content: space-between;
        align-items: flex-start;


    }

    /* القسم الثاني والثالث يمين ويسار */
    .card1 {
        width: 58%;
        height: 100%;
        margin: 10px;

    }

    .card-section:last-of-type {
        width: 40%;
        height: 100%;
    }
}

.loading-box {
    text-align: center;
    padding: 40px;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #ccc;
    border-top-color: #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.verify-container {
    max-width: 100%;
    /* margin: 25px auto; */
    background: #f9fafb;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    text-align: right;
}

.verify-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #1e293b;
    text-align: center;
}

.verify-box {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 15px;
    padding: 15px 20px;
    margin-bottom: 15px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.verify-box:hover {
    transform: translateY(-2px);
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.12);
}

.verify-icon {
    font-size: 28px;
    margin-right: 15px;
    flex-shrink: 0;
}

.verify-content {
    flex: 1;
}

.verify-content label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1e293b;
}

.verify-content input {
    width: 97%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    font-size: large;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.verify-content input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
    outline: none;
}

.hint {
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
    display: block;
}

.verify-btn {
    padding: 0.5rem 1rem;
    border: none;
    background-color: #225ea8;
    color: #fff;
    border-radius: 0.25rem;
    cursor: pointer;
}

.verify-btn:hover {
    background: #1e3fa1;
}