/* Mexanika Texnik Xizmat & Waybill Styles */
:root {
    --neon-blue: #00f2ff;
    --neon-green: #2ecc71;
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: 1px solid rgba(0, 242, 255, 0.1);
}

.waybill-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
    padding: 20px;
    height: calc(100% - 70px);
    overflow-y: auto;
    background: radial-gradient(circle at center, rgba(0, 242, 255, 0.05) 0%, transparent 70%);
}

.waybill-card {
    background: var(--glass-bg);
    border: var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.waybill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    opacity: 0.5;
}

.waybill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 242, 255, 0.1);
    border-color: rgba(0, 242, 255, 0.3);
}

.waybill-card h4 {
    color: var(--neon-blue);
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.driver-profile {
    display: flex;
    align-items: center;
    gap: 20px;
}

.driver-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #34495e, #2c3e50);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    border: 2px solid var(--neon-blue);
    position: relative;
}

.driver-avatar::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    top: -5px;
    bottom: -5px;
    left: -5px;
    right: -5px;
    border: 1px dashed var(--neon-blue);
    animation: spin 10s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    padding-bottom: 5px;
}


.info-label {
    color: #aaa;
}

.info-value {
    color: #fff;
    font-weight: 500;
}

.input-group {
    margin-bottom: 10px;
}

.input-group label {
    display: block;
    color: #aaa;
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.waybill-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px;
    border-radius: 6px;
    color: white;
    font-family: monospace;
}

.status-active {
    color: #2ecc71;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-active::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: #2ecc71;
    border-radius: 50%;
    box-shadow: 0 0 5px #2ecc71;
}