/* Drone Map Invoice - Frontend Styles */

.dmi-quote-form {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.dmi-quote-form h2 {
    margin-bottom: 30px;
    color: #333;
}

.dmi-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dmi-form-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.dmi-form-section:last-child {
    border-bottom: none;
}

.dmi-form-section h3 {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.2em;
}

.dmi-form-row {
    margin-bottom: 20px;
}

.dmi-form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.dmi-form-row input[type="text"],
.dmi-form-row input[type="email"],
.dmi-form-row input[type="tel"],
.dmi-form-row textarea {
    width: 100%;
    max-width: 500px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.dmi-form-row input[type="radio"] {
    margin-right: 8px;
}

.dmi-map {
    width: 100%;
    height: 500px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin: 20px 0;
}

.dmi-map-info {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.dmi-map-controls {
    margin-bottom: 15px;
}

.dmi-map-btn {
    padding: 10px 20px;
    margin-right: 10px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.dmi-map-btn:hover {
    background: #005a87;
}

.dmi-field-info {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
}

.dmi-field-info p {
    margin: 5px 0;
}

.dmi-flyzone-status {
    font-weight: 600;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
}

.dmi-flyzone-status.warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffc107;
}

.dmi-flyzone-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #28a745;
}

.dmi-form-actions {
    margin-top: 30px;
}

.dmi-submit-btn {
    background: #0073aa;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.dmi-submit-btn:hover {
    background: #005a87;
}

.dmi-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.dmi-form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    display: none;
}

.dmi-form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #28a745;
    display: block;
}

.dmi-form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #dc3545;
    display: block;
}

/* Loading spinner */
.dmi-loading-marker {
    background: transparent;
    border: none;
}

.dmi-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3388ff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .dmi-quote-form {
        padding: 10px;
    }
    
    .dmi-form {
        padding: 20px;
    }
    
    .dmi-map {
        height: 400px;
    }
}

