/* Basic Reset & Defaults */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f7f9;
    color: #333;
    padding: 20px;
}

.container {
    max-width: 700px;
    margin: 30px auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #2c3e50;
    margin-bottom: 10px;
    text-align: center;
}

p {
    color: #555;
    margin-bottom: 25px;
    text-align: center;
}

code {
    background-color: #e8e8e8;
    padding: 2px 5px;
    border-radius: 4px;
    font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
}

/* Generate Button Section */
.generate-section {
    text-align: center;
    margin-bottom: 30px;
}

/* UUID Formats Section */
.uuid-formats {
    margin-top: 20px;
}

.format-group {
    margin-bottom: 15px;
}

.format-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #34495e;
}

.input-group {
    display: flex;
    align-items: center;
}

.input-group input[type="text"] {
    flex-grow: 1;
    padding: 10px;
    font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
    font-size: 0.95em;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px; /* Rounded corners only on the left */
    background-color: #f9f9f9; /* Slightly different background for readonly */
    color: #2c3e50;
    /* Prevent focus outline as it's readonly */
    outline: none;
    overflow-x: auto; /* Handle potential overflow if needed */
}

/* Buttons */
.btn {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.2s ease, opacity 0.3s ease;
    white-space: nowrap; /* Prevent button text wrapping */
}

.btn-primary {
    background-color: #3498db;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.btn-primary:disabled {
    background-color: #a9cce3;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-copy {
    background-color: #95a5a6;
    color: #ffffff;
    border-radius: 0 4px 4px 0; /* Rounded corners only on the right */
}

.btn-copy:hover {
    background-color: #7f8c8d;
}

/* Feedback state for copy button */
.btn-copy.copied {
    background-color: #2ecc71; /* Green for success */
}


/* Ad Placeholder Example */
.ad-placeholder {
    border: 1px dashed #ccc;
    padding: 20px;
    text-align: center;
    color: #aaa;
    margin: 20px 0;
    background-color: #f0f0f0;
}

/* Basic Responsiveness */
@media (max-width: 600px) {
    .container {
        padding: 20px;
    }
    h1 {
        font-size: 1.8em;
    }
    .input-group input[type="text"] {
        font-size: 0.85em; /* Adjust font size on smaller screens if needed */
    }
    .btn {
        font-size: 0.9em;
        padding: 8px 12px;
    }
}