/* Location Section Styles */
.location-section {
    margin-top: 20px;
    padding: 20px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.location-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.location-header h4 {
    color: #333;
    font-size: 1.1rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.location-header h4 i {
    color: #667eea;
}

.btn.small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.location-status {
    margin-bottom: 15px;
}

.location-message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.location-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.location-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.location-message.warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.location-message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.permission-instructions {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
}

.permission-instructions h5 {
    color: #495057;
    font-size: 1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.permission-instructions ol {
    margin: 0 0 10px 0;
    padding-left: 20px;
    color: #6c757d;
    font-size: 0.9rem;
}

.permission-instructions li {
    margin-bottom: 5px;
}

.permission-instructions i {
    color: #667eea;
}

.btn-link {
    background: none;
    border: none;
    color: #667eea;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0;
}

.btn-link:hover {
    color: #5a6fd8;
    text-decoration: none;
}

.location-inputs {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Row for Location */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .location-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .location-header h4 {
        font-size: 1rem;
    }
    
    .btn.small {
        width: 100%;
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .location-message {
        font-size: 0.9rem;
        padding: 10px 12px;
    }
    
    .permission-instructions {
        padding: 12px;
    }
    
    .permission-instructions h5 {
        font-size: 0.95rem;
    }
    
    .permission-instructions ol {
        font-size: 0.85rem;
    }
}
