:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --background-color: #fff;
    --text-color: #2c3e50;
    --border-color: #e3e3e3;
    --shadow: 
        rgba(0, 0, 0, 0.07) 0px 0.602187px 0.602187px -1.16667px,
        rgba(0, 0, 0, 0.063) 0px 2.28853px 2.28853px -2.33333px,
        rgba(0, 0, 0, 0.03) 0px 10px 10px -3.5px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
}

.container {
    max-width: 800px;
    margin: 1rem auto;
    padding: 0 1rem;
}

h1 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: clamp(1.5rem, 5vw, 2rem);
}

.generator-section {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 1rem;
}

.input-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.input-group label {
    font-weight: 500;
    color: var(--primary-color);
    min-width: 120px;
}

.input-group input {
    padding: 0.5rem;
    width: 120px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

.action-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

button.primary {
    background-color: var(--secondary-color);
    color: white;
}

button.secondary {
    background-color: white;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

button {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 100px;
    justify-content: center;
    border: none;
}

button:hover {
    transform: translateY(-1px);
}

button.primary:hover {
    background-color: #2980b9;
}

button.secondary:hover {
    background-color: #f8f9fa;
}

textarea {
    width: 100%;
    height: 200px;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: monospace;
    resize: vertical;
    line-height: 1.5;
    font-size: 0.9rem;
    background-color: #f8f9fa;
}

textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.info-section {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 0.602187px 0.602187px -1.16667px,
    rgba(0, 0, 0, 0.063) 0px 2.28853px 2.28853px -2.33333px,
    rgba(0, 0, 0, 0.03) 0px 10px 10px -3.5px;
    border: 1px solid #e3e3e3;
}

.info-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

code {
    display: block;
    background: #f1f2f6;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
    font-family: monospace;
}

ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.disclaimer {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-left: 4px solid #dc3545;
    font-size: 0.9rem;
    color: #6c757d;
}

.section-header {
    margin-bottom: 1.5rem;
}

.section-header h2 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-size: 1.5rem;
}

.section-header p {
    color: #666;
    font-size: 0.95rem;
}

/* Update existing styles */
.info-section h2 {
    font-size: 1.5rem;
}

/* Update media query */
@media (max-width: 600px) {
    .container {
        margin: 0.5rem auto;
    }

    .generator-section, .info-section {
        padding: 1rem;
    }

    .controls {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .input-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .input-group label {
        min-width: auto;
    }

    .input-group input {
        width: 100%;
    }

    .action-buttons {
        flex-direction: column;
        width: 100%;
    }

    button {
        width: 100%;
        padding: 0.75rem;
    }

    textarea {
        height: 150px;
    }

    code {
        font-size: 0.85rem;
        padding: 0.75rem;
        overflow-x: auto;
    }
}

/* Add a medium breakpoint for better tablet support */
@media (min-width: 601px) and (max-width: 800px) {
    .container {
        margin: 1rem auto;
    }

    .controls {
        gap: 1.5rem;
    }

    .input-group {
        flex: 1;
    }

    .action-buttons {
        flex: 1;
        justify-content: flex-end;
    }
}
