/* history sec e  */

.history-section {
    padding-left: 80px;
    padding-right: 80px;
    background: #000;
}

/* CARD */
.history-card {
    background: #323232;
    border-radius: 20px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.history-card:hover {
    box-shadow: inset 0 0 32px rgba(255, 255, 255, 0.25);
}

/* TITLE */
.history-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 6px;
}

/* META */
.history-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #d1d5db;
    margin-bottom: 16px;
    gap: 10px;
    font-family: lato;

}

.generate {
    color: #fff;

}

/* IMAGE */
.card-img-wrapper {
    height: 210px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    transform: scale(1);
}

/* scale image on card hover */
.history-card:hover .card-img-wrapper img {
    transform: scale(1.30);
}

/* INFO */
.history-info {
    flex-grow: 1;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    margin: 10px 0;
    font-family: lato;
}

.history-info hr {
    /* border: 1px solid #ffffff; */
    /* border-bottom: 1px solid #FFFFFF; */
    /* margin: 8px 0; */
    border: none !important;
}


.status-completed {
    color: #22c55e;
    font-weight: 600;
}

/* BUTTONS */
.history-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.btn-preview {
    background: linear-gradient(101.67deg, #93C3FD 0%, #7D86ED 45.89%, #5B63ED 100%);
    color: #fff;
    border-radius: 14px;
    padding: 12px;
    border: none;
}

.btn-download {
    background: #FFF !important;
    color: #000;
    border-radius: 14px;
    padding: 12px;
    border: none;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .history-section {
        padding-left: 32px;
        padding-right: 32px;
    }
}

@media (max-width: 767px) {
    .history-section {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* history sec e */