/**
 * FuelGuard Info Card Widget Styles
 * @package FuelGuard
 * @version 1.0.0
 */

/* Info Card */
.info-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Card Header */
.info-card-header {
    background: linear-gradient(135deg, #bb0a07 0%, #8b0705 100%);
    padding: 1.5rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.info-card-header::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.info-card-header h3 {
    font-size: 1.2em;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.info-card-header .icon {
    font-size: 1.8em;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Card Body */
.info-card-body {
    padding: 1.5rem;
}

.info-card-body p {
    font-size: 0.92em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.info-card-body ul {
    font-size: 0.9em;
    color: #555;
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.info-card-body li {
    margin-bottom: 0.5rem;
    padding-left: 0;
    position: relative;
    line-height: 1.5;
    padding: 6px;
    margin: 0px;
}

/* Vehicle Tags */
.vehicle-tags {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vehicle-tag {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.vehicle-tag:hover {
    border-color: #bb0a07;
    background: white;
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(187, 10, 7, 0.1);
}

.vehicle-tag .icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #bb0a07 0%, #8b0705 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1em;
    flex-shrink: 0;
}

.vehicle-tag .text {
    flex: 1;
}

.vehicle-tag .text .name {
    font-weight: 600;
    color: #343a40;
    font-size: 0.85em;
    display: block;
}

.vehicle-tag .text .type {
    font-size: 0.72em;
    color: #6c757d;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .info-card-header h3 {
        font-size: 1.1em;
    }

    .info-card-header .icon {
        font-size: 1.5em;
    }

    .info-card-body {
        padding: 1rem;
    }

    .vehicle-tags {
        grid-template-columns: 1fr;
    }

    .vehicle-tag {
        padding: 0.4rem 0.6rem;
    }

    .vehicle-tag .icon {
        width: 24px;
        height: 24px;
        font-size: 0.9em;
    }

    .vehicle-tag .text .name {
        font-size: 0.8em;
    }

    .vehicle-tag .text .type {
        font-size: 0.7em;
    }
}

