/* General Styles for FDT Plugin */
body.fdt-body {
    font-family: Arial, sans-serif;
    background-color: #f7f7f7;
    margin: 0;
    padding: 0;
}

/* Header Styling */
.fdt-header {
    background-color: #28a745;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    font-size: 24px;
    font-weight: bold;
}

/* Form and Button Styling */
.fdt-form {
    background-color: #ffffff;
    padding: 20px;
    margin: 20px auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    max-width: 600px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.fdt-form input,
.fdt-form select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 16px;
}

.fdt-form button {
    background-color: #28a745;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 4px;
}

.fdt-form button:hover {
    background-color: #218838;
}

/* Driver Tracking Map Styles */
.fdt-map {
    width: 100%;
    height: 400px;
    margin: 20px 0;
    border: 1px solid #ccc;
}

.fdt-tracking-info {
    font-size: 18px;
    margin-top: 10px;
}

/* Driver Dashboard - Admin Styles */
.fdt-driver-dashboard {
    display: flex;
    justify-content: space-between;
    margin: 20px auto;
    max-width: 1200px;
}

.fdt-driver-card {
    background-color: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    width: 48%;
}

.fdt-driver-card h3 {
    margin-top: 0;
    color: #28a745;
}

/* Real-time Notification Bubble */
.fdt-notification {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #ffc107;
    color: #333;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    font-size: 16px;
}

.fdt-notification.success {
    background-color: #28a745;
    color: #fff;
}

.fdt-notification.error {
    background-color: #dc3545;
    color: #fff;
}

/* Mobile-Responsive Styles */
@media (max-width: 768px) {
    .fdt-driver-dashboard {
        flex-direction: column;
    }

    .fdt-driver-card {
        width: 100%;
        margin-bottom: 20px;
    }

    .fdt-form {
        padding: 15px;
    }

    .fdt-map {
        height: 300px;
    }
}
