﻿.license-list-container {
    max-width: 90%;
    margin: 10px auto;
    padding: 10px 10px;
    background: #f8f9fa;
    border-radius: 50px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    text-align: center;
    
}

.license-list-container h2 {
    margin-bottom: 28px;
    color: #2c3e50;
    font-weight: 700;
}

.license-list {
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    
}

.license-card {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,1);
    padding: 18px 22px;
    gap: 24px;
    position: relative;
    
}

.driver-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #007bff;
    transition: transform 0.25s cubic-bezier(.4,2,.6,1), box-shadow 0.2s;
}

.license-card:hover {
    border: 2px solid #007bff;
    box-shadow: 0 4px 24px rgba(0,123,255,1);
    z-index: 2;
}

.driver-img:hover {
    transform: scale(2.18);
    box-shadow: 0 4px 24px rgba(0,123,255,0.18);
    z-index: 2;
}

.license-info {
    flex: 1;
    text-align: left;
    font-size: 1.08rem;
    color: #333;
    
}

.license-actions {
    display: flex;
    gap: 10px;
}

.icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #007bff;
    font-size: 1.7rem;
    cursor: pointer;
    transition: color 0.2s;
    text-decoration: none;
    padding: 0;
}

    .icon-btn.edit-btn:hover {
        color: #ffc107;
    }

    .icon-btn.delete-btn:hover {
        color: #e74c3c;
    }

.icon-btn.add-btn {
    color: #27ae60;
    font-size: 1.3rem;
    margin-bottom: 18px;
    gap: 6px;
    font-weight: 600;
    border-radius: 6px;
    background: #eafaf1;
    padding: 8px 18px;
    box-shadow: 0 2px 8px rgba(39,174,96,0.06);
    border: 1px solid #b2f2d7;
    display: inline-flex;
}

        .icon-btn.add-btn:hover {
            background: #d4f5e6;
            color: #219150;
        }

@media (max-width: 600px) {
    .license-list-container {
        padding: 10px 2vw;
        max-width: 100vw;
    }

    .license-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px 8px;
    }

    .driver-img {
        width: 60px;
        height: 60px;
    }

    .license-info {
        font-size: 1rem;
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(44, 62, 80, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(2px);
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 36px 32px 28px 32px;
    text-align: center;
    min-width: 280px;
    max-width: 90vw;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-icon {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 12px;
}

.modal-message {
    font-size: 1.15rem;
    margin-bottom: 22px;
    color: #333;
}

.modal-actions {
    display: flex;
    gap: 18px;
    justify-content: center;
}

.btn.btn-danger {
    background: #e74c3c;
    color: #fff;
    border: none;
    padding: 8px 22px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

    .btn.btn-danger:hover {
        background: #c0392b;
    }

.btn.btn-secondary {
    background: #f1f1f1;
    color: #333;
    border: none;
    padding: 8px 22px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

    .btn.btn-secondary:hover {
        background: #e0e0e0;
    }

.modal-blur body > *:not(.modal-overlay) {
    filter: blur(4px) !important;
    pointer-events: none;
}
.driver-search-bar {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    
    gap: 10px;
    margin-bottom: 16px;
    align-items: stretch;
}
.driver-search-bar .form-control {
    min-width: 180px;
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid #b2bec3;
    font-size: 1rem;
    outline: none;
    transition: border 0.2s;
    margin-bottom: 0;
}

.driver-search-bar .form-control:focus {
    border: 1.5px solid #007bff;
}



.driver-search-bar .form-control {
    min-width: unset;
    width: 100%;
    background-color:white;
}
/* fallback */
@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/materialicons/v143/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

.aadhaar-status-icon {
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
    font-size: 1.5rem;
}

.aadhaar-input-group {
    display: inline-block;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
    width: 60px;
    text-align: center;
    font-size: 1.25rem;
    letter-spacing: 2px;
}

.aadhaar-details-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
}

    .aadhaar-details-table th, .aadhaar-details-table td {
        text-align: left;
        padding: 8px 10px;
        font-size: 1.08rem;
    }

    .aadhaar-details-table th {
        
        width: 135px;
        font-weight: 600;
        
    }