/* Unicorn Rentals Frontend - Minimal Styling */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background: #2c3e50;
    color: white;
    padding: 20px 0;
    margin-bottom: 30px;
}

h1 {
    text-align: center;
    font-size: 2.2em;
}

.subtitle {
    text-align: center;
    margin-top: 10px;
    opacity: 0.9;
    font-size: 1.1em;
}

.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
}

.card h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.4em;
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

input[type="text"], textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

input[type="text"]:focus, textarea:focus {
    outline: none;
    border-color: #3498db;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

.btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    display: inline-block;
    text-decoration: none;
}

.btn:hover {
    background: #2980b9;
}

.btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}

.btn-success {
    background: #27ae60;
}

.btn-success:hover {
    background: #229954;
}

.response-area {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e9ecef;
    min-height: 60px;
    display: none;
}

.response-area.show {
    display: block;
}

.response-area.success {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.response-area.error {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.loading {
    display: none;
    color: #3498db;
    font-style: italic;
}

.loading.show {
    display: inline;
}

.health-status {
    text-align: center;
    padding: 20px;
}

.status-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.status-healthy {
    background: #27ae60;
}

.status-error {
    background: #e74c3c;
}

pre {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.4;
}

.help-text {
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .dashboard {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card {
        padding: 20px;
    }
    
    h1 {
        font-size: 1.8em;
    }
}