.sidma-drive-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sidma-drive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.drive-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    /* Or 1 / 1.4 for A4 look */
    background: #f5f5f5;
    /* Fallback */
    overflow: hidden;
}

.drive-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    /* Show top of PDF */
    transition: transform 0.3s;
}

.sidma-drive-card:hover .drive-card-thumb img {
    transform: scale(1.05);
}

.drive-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(12, 22, 87, 0.4);
    /* Brand Navy with opacity */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.drive-card-overlay i {
    color: white;
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.sidma-drive-card:hover .drive-card-overlay {
    opacity: 1;
}

.drive-card-content {
    padding: 20px;
    background: white;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.drive-card-title {
    margin: 0 0 15px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.4;
}

.sidma-drive-card-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    background: #0C1657;
    /* Brand Navy */
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.sidma-drive-card-btn i {
    margin-left: 8px;
    transition: transform 0.2s;
}

.sidma-drive-card-btn:hover {
    background: #162799;
    /* Lighter Navy */
    color: white;
}

.sidma-drive-card-btn:hover i {
    transform: translateX(4px);
}

/* Empty State */
.sidma-drive-card.is-empty {
    border: 2px dashed #e5e5e5;
    background: #fafafa;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: none;
}

.drive-card-empty {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.lottie-wrapper {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.empty-state-msg {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-top: 10px;
    font-style: italic;
}