/* UUID Generator specific styles */

.uuid-generator {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.generator-section, .output-section, .info-section {
    background-color: #1a202c;
    border: 1px solid #4a5568;
    border-radius: 12px;
    padding: 1.5rem;
}

.generator-section h3, .output-section h3, .info-section h3 {
    color: #e2e8f0;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    border-bottom: 2px solid #4a5568;
    padding-bottom: 0.5rem;
}

.uuid-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.option-group label {
    color: #e2e8f0;
    font-weight: 500;
    font-size: 14px;
}

#uuidVersion, #uuidCount, #uuidFormat {
    background-color: #2d3748;
    color: #e2e8f0;
    border: 2px solid #4a5568;
    border-radius: 6px;
    padding: 0.5rem;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

#uuidVersion:focus, #uuidCount:focus, #uuidFormat:focus {
    border-color: #63b3ed;
}

.generate-controls {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    outline: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, #3182ce, #2c5aa0);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2c5aa0, #2a4d8d);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.3);
}

.btn-secondary {
    background-color: #4a5568;
    color: #e2e8f0;
}

.btn-secondary:hover {
    background-color: #2d3748;
}

.btn-copy {
    background-color: #38a169;
    color: white;
    font-size: 12px;
    padding: 0.5rem 1rem;
}

.btn-copy:hover {
    background-color: #2f855a;
}

.btn-copy:disabled {
    background-color: #68d391;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-clear {
    background-color: #e53e3e;
    color: white;
    font-size: 12px;
    padding: 0.5rem 1rem;
}

.btn-clear:hover {
    background-color: #c53030;
}

.btn-clear:disabled {
    background-color: #fc8181;
    cursor: not-allowed;
    opacity: 0.6;
}

.output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.output-controls {
    display: flex;
    gap: 0.5rem;
}

.uuid-output {
    max-height: 400px;
    overflow-y: auto;
    border: 2px solid #4a5568;
    border-radius: 8px;
    padding: 1rem;
    background-color: #2d3748;
}

.no-uuids {
    color: #a0aec0;
    text-align: center;
    font-style: italic;
    margin: 2rem 0;
}

.uuid-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background-color: #1a202c;
    border: 1px solid #4a5568;
    border-radius: 6px;
    transition: all 0.2s;
}

.uuid-item:hover {
    border-color: #63b3ed;
    background-color: #2d3748;
}

.uuid-text {
    font-family: 'Courier New', monospace;
    color: #e2e8f0;
    font-size: 14px;
    flex: 1;
    margin-right: 1rem;
    word-break: break-all;
    user-select: all;
}

.uuid-copy {
    background: none;
    border: 1px solid #63b3ed;
    color: #63b3ed;
    cursor: pointer;
    font-size: 11px;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s;
    text-transform: uppercase;
    font-weight: 500;
}

.uuid-copy:hover {
    background-color: #63b3ed;
    color: #1a202c;
}

.uuid-copy.copied {
    background-color: #38a169;
    border-color: #38a169;
    color: white;
}

.info-section {
    margin-top: 1rem;
}

.info-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.info-item h4 {
    color: #63b3ed;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.info-item p {
    color: #a0aec0;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.info-item code {
    background-color: #2d3748;
    color: #e2e8f0;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
}

/* Scrollbar styling */
.uuid-output::-webkit-scrollbar {
    width: 8px;
}

.uuid-output::-webkit-scrollbar-track {
    background: #1a202c;
    border-radius: 4px;
}

.uuid-output::-webkit-scrollbar-thumb {
    background: #4a5568;
    border-radius: 4px;
}

.uuid-output::-webkit-scrollbar-thumb:hover {
    background: #63b3ed;
}

/* Responsive design */
@media (max-width: 768px) {
    .uuid-generator {
        gap: 1rem;
    }
    
    .generator-section, .output-section, .info-section {
        padding: 1rem;
    }
    
    .uuid-options {
        grid-template-columns: 1fr;
    }
    
    .generate-controls {
        flex-direction: column;
    }
    
    .output-header {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }
    
    .output-controls {
        justify-content: center;
    }
    
    .uuid-item {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .uuid-text {
        margin-right: 0;
        text-align: center;
    }
    
    .info-content {
        grid-template-columns: 1fr;
    }
}