body {

    background: #070f23;

}

.sec-flash-cards {

    padding: 40px 0;

}

.box-header {

    background: #283B60;

    color: white;

    border-radius: 20px;

    padding: 25px;

    margin-bottom: 25px;

}

.box-header h2 {

    margin: 0;

    color: #E2B356;

}

.box-header p {

    margin-top: 10px;

    margin-bottom: 0;

    opacity: .8;

}

.box-filters {

    background: white;

    border-radius: 18px;

    padding: 20px;

    margin-bottom: 30px;

}

.form-control,
.form-select {

    height: 50px;

    border: 2px solid #283B60;

}

.form-control:focus,
.form-select:focus {

    border-color: #E2B356;

    box-shadow: none;

}

.btn-search {

    height: 50px;

    background: #E2B356;

    color: #070f23;

    font-weight: bold;

    border: none;

}

.btn-search:hover {

    background: #d5a64c;

}


/* =========================
   FLASH CARDS
========================= */

.box-append-flash-cards {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 20px;

}


.box-flash-card {

    width: 100%;

    position: relative;

    background: white;

    border-radius: 18px;
    font-size: 21px;

    overflow: hidden;

    transition: .25s;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .2);

}


/* افکت هاور */

.box-flash-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 12px 30px rgba(0, 0, 0, .3);

}


.box-title {

    background: #283B60;

    color: white;

    padding: 15px;

    font-size: 18px;

    font-weight: bold;

}


.box-content {

    padding: 18px;

}


.item {

    margin-bottom: 12px;

}


.item span {

    color: #E2B356;

    font-weight: bold;

}


.answer {

    color: #00164d;

    background: #f7f7f7;

    border-radius: 10px;

    padding: 10px;

}


.reference {

    color: #666;

    font-size: 14px;

}


.date {

    color: #888;

    font-size: 13px;

    margin-top: 10px;

}

.flash-card-info {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 15px;

    padding-top: 15px;

    border-top: 1px solid #ddd;

    overflow-x: auto;

    white-space: nowrap;

}

.info-item {

    background: #f7f7f7;

    border-radius: 10px;

    padding: 8px 12px;

    font-size: 15px;

    color: #333;

    flex-shrink: 0;

}

.info-item span {

    color: #E2B356;

    font-weight: bold;

}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .box-append-flash-cards {

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 15px;

    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .sec-flash-cards {

        padding: 20px 10px;

    }

    .box-append-flash-cards {

        grid-template-columns: 1fr;

        gap: 15px;

    }

    .box-header {

        padding: 20px;

    }

    .box-header h2 {

        font-size: 20px;

    }

}