/* Main Container Styles */
.uuid-generator-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* Hero Section */
.uuid-hero {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    border-radius: 12px;
    color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.uuid-main-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.uuid-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* Tool Section */
.uuid-tool-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.uuid-control-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: center;
}

.uuid-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    flex-grow: 1;
}

.uuid-option-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 1rem;
    background: #f5f7fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.uuid-option-label:hover {
    background: #e1e8f0;
}

.uuid-option-label input {
    display: none;
}

.uuid-option-design {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #6e8efb;
    margin-right: 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.uuid-option-label input:checked + .uuid-option-design {
    background: #6e8efb;
    border-color: #6e8efb;
}

.uuid-option-label input:checked + .uuid-option-design::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    top: 3px;
    left: 3px;
}

.uuid-quantity-container {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.uuid-count-label {
    margin-right: 0.5rem;
    font-weight: 500;
}

.uuid-count-input {
    width: 60px;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
}

.uuid-generate-btn {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
}

.uuid-generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.uuid-generate-btn:active {
    transform: translateY(0);
}

/* Results Section */
.uuid-results-container {
    border: 1px solid #e1e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.uuid-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #f5f7fa;
    border-bottom: 1px solid #e1e8f0;
}

.uuid-results-title {
    margin: 0;
    font-size: 1.2rem;
    color: #4a5568;
}

.uuid-copy-all-btn {
    background: #48bb78;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.uuid-copy-all-btn:hover {
    background: #38a169;
}

.uuid-results-list {
    padding: 1.5rem;
    background: white;
    max-height: 400px;
    overflow-y: auto;
}

.uuid-result-item {
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    background: #f8fafc;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
}

.uuid-result-item:last-child {
    margin-bottom: 0;
}

.uuid-copy-btn {
    background: #4299e1;
    color: white;
    border: none;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.uuid-copy-btn:hover {
    background: #3182ce;
}

/* Info Boxes Section */
.uuid-info-section {
    margin-bottom: 3rem;
}

.uuid-section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #4a5568;
    position: relative;
}

.uuid-section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.uuid-info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.uuid-info-box {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.uuid-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.uuid-info-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #6e8efb;
}

.uuid-info-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #4a5568;
}

.uuid-info-text {
    color: #718096;
    line-height: 1.6;
}

/* Details Section */
.uuid-details-section {
    margin-bottom: 3rem;
}

.uuid-detail-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.uuid-detail-text {
    flex: 1;
    min-width: 300px;
}

.uuid-detail-visual {
    flex: 1;
    min-width: 300px;
}

.uuid-example {
    font-family: 'Courier New', Courier, monospace;
    color: #6e8efb;
    font-weight: bold;
}

.uuid-feature-list {
    list-style-type: none;
    padding-left: 0;
}

.uuid-feature-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.uuid-feature-list li::before {
    content: '•';
    color: #6e8efb;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -2px;
}

.uuid-structure-diagram {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.uuid-structure-title {
    text-align: center;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #4a5568;
}

.uuid-structure-parts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.uuid-part {
    padding: 0.5rem;
    background: #f5f7fa;
    border-radius: 4px;
    font-size: 0.8rem;
    text-align: center;
    flex-grow: 1;
}

.uuid-part.time-low { background: #fed7d7; color: #9b2c2c; }
.uuid-part.time-mid { background: #feebc8; color: #9c4221; }
.uuid-part.time-high { background: #fefcbf; color: #744210; }
.uuid-part.clock-seq { background: #c6f6d5; color: #276749; }
.uuid-part.node { background: #bee3f8; color: #2c5282; }

.uuid-version-indicator {
    text-align: center;
    font-size: 0.8rem;
    color: #718096;
    font-style: italic;
}

/* FAQ Section */
.uuid-faq-section {
    margin-bottom: 3rem;
}

.uuid-faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.uuid-faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.uuid-faq-question {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: white;
    border: none;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
    color: #4a5568;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.uuid-faq-question:hover {
    background: #f5f7fa;
}

.uuid-faq-icon {
    font-size: 1.2rem;
    color: #6e8efb;
}

.uuid-faq-answer {
    padding: 0 1.5rem;
    background: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.uuid-faq-answer p {
    margin: 0;
    padding: 1rem 0;
    color: #718096;
    line-height: 1.6;
}

.uuid-faq-item.active .uuid-faq-answer {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

/* Related Tools Section */
.uuid-related-tools {
    margin-bottom: 2rem;
}

.uuid-related-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.uuid-related-tool {
    display: block;
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    width: 250px;
}

.uuid-related-tool:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.uuid-related-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #6e8efb;
}

.uuid-related-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #4a5568;
}

.uuid-related-desc {
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .uuid-main-title {
        font-size: 2rem;
    }
    
    .uuid-subtitle {
        font-size: 1rem;
    }
    
    .uuid-control-panel {
        flex-direction: column;
        align-items: stretch;
    }
    
    .uuid-quantity-container {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .uuid-generate-btn {
        width: 100%;
    }
    
    .uuid-info-boxes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .uuid-generator-container {
        padding: 1.5rem 1rem;
    }
    
    .uuid-tool-section {
        padding: 1.5rem;
    }
    
    .uuid-option-label {
        width: 100%;
    }
    
    .uuid-section-title {
        font-size: 1.5rem;
    }
}