/* Form Styling */
.hayat-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    padding: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #4CAF50;
    outline: none;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.1);
}

.form-group input.error,
.form-group select.error {
    border-color: #ff5252;
}

/* Driver Selection Styling */
#driver {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 4px;
}

#driver option {
    padding: 8px;
}

/* Button Styling */
.hayat-button {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.hayat-button:hover {
    background: #45a049;
    transform: translateY(-1px);
}

.hayat-button:active {
    transform: translateY(0);
}

.hayat-button:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

/* Status Messages */
#delivery-status {
    margin: 15px 0;
}

.notice {
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.notice-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.notice-error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* Read-only Fields */
input[readonly] {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hayat-card {
        padding: 15px;
    }

    .form-group input,
    .form-group select {
        padding: 8px;
    }

    .hayat-button {
        width: 100%;
    }
}
