:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --card-bg: #ffffff;
    --text-dark: #2d3748;
    --text-light: #718096;
    --input-bg: #f7fafc;
    --border-color: #e2e8f0;
    --accent: #764ba2;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--primary-gradient);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 20px;
    color: var(--text-dark);
}

.main-container {
    background: var(--card-bg);
    width: 100%;
    max-width: 800px;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

header {
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    font-weight: 600;
    color: var(--accent);
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
}

/* Form Styling */
.section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 10px;
    margin-top: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 5px;
}

.input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.grid-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
}

@media (max-width: 600px) {
    .grid-split {
        grid-template-columns: 1fr;
    }
}

.location-box {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.sub-header {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 10px;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--input-bg);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(118, 75, 162, 0.1);
}

/* Buttons */
.btn-generate {
    width: 100%;
    padding: 15px;
    margin-top: 25px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: 0 4px 15px rgba(118, 75, 162, 0.3);
}

.btn-generate:hover {
    transform: translateY(-2px);
}

/* Output Section */
.output-container {
    margin-top: 30px;
}

.output-card {
    background: #2d3748; /* Dark theme per image 2 for output area */
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    color: white;
}

.output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-copy {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
}

.btn-copy:hover {
    background: rgba(255,255,255,0.3);
}

textarea[readonly] {
    background: rgba(0,0,0,0.3);
    color: #e2e8f0;
    border: none;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    height: 150px;
    resize: none;
}

.footer {
    text-align: center;
    margin-top: 30px;
    font-size: 0.8rem;
    color: var(--text-light);
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}
