/* Basic styling for the name tag generator */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

header h1 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.form-container {
    margin-bottom: 30px;
}

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

.label-with-count {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}

#charCount {
    font-size: 0.9em;
    color: #666;
}

label {
    display: block;
    font-weight: bold;
}

textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: monospace;
    font-size: 14px;
}

textarea:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.validation-feedback {
    display: none;
    color: #e74c3c;
    background-color: #fadbd8;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
    border-left: 4px solid #e74c3c;
    font-size: 0.9em;
}

.name-guidelines {
    background-color: #eaf7fd;
    padding: 15px;
    border-radius: 4px;
    margin-top: 15px;
    border-left: 4px solid #3498db;
}

.name-guidelines h3 {
    margin-bottom: 8px;
    color: #2980b9;
    font-size: 0.95em;
}

.name-guidelines ul {
    margin-left: 20px;
    font-size: 0.9em;
}

.name-guidelines li {
    margin-bottom: 3px;
}

.hint {
    font-size: 0.8em;
    color: #666;
    margin-top: 5px;
}

.actions {
    text-align: center;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

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

button:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}

.validate-btn {
    background-color: #f39c12;
}

.validate-btn:hover {
    background-color: #e67e22;
}

.validate-btn.validated {
    background-color: #27ae60;
}

.validate-btn:disabled {
    background-color: #bdc3c7;
}

.instructions {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
    border-left: 4px solid #3498db;
    margin-bottom: 20px;
}

.instructions h2 {
    margin-bottom: 10px;
}

.instructions ol {
    margin-left: 20px;
}

.requirements {
    margin-top: 20px;
}

.requirements h2 {
    margin-bottom: 10px;
}

.requirements ul {
    margin-left: 20px;
}

.requirements li {
    margin-bottom: 5px;
}

.requirements a {
    color: #3498db;
    text-decoration: none;
}

.requirements a:hover {
    text-decoration: underline;
}

footer {
    margin-top: 30px;
    text-align: center;
    font-size: 0.9em;
    color: #666;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

footer a {
    color: #3498db;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Version info styling */
.version-info {
    font-size: 0.8em;
    color: #999;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dotted #ddd;
}

@media (max-width: 600px) {
    .container {
        padding: 15px;
    }
    
    .actions {
        flex-direction: column;
        gap: 10px;
    }
    
    button {
        width: 100%;
    }
}