/* AnyWebP Style CSS - Modern Clean Business Design */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* Header Navigation */
.main-nav {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    margin-bottom: 0;
    border-bottom: none;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s;
}

.logo:hover {
    color: #1d4ed8;
}

.logo i {
    font-size: 1.8rem;
}

.logo span {
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: #2563eb;
}

.dropdown {
    position: relative;
}

.dropdown-trigger {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 0;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 200px;
    z-index: 1000;
}

/* Create invisible bridge to prevent menu from closing */
.dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 0.5rem;
    background: transparent;
    display: none;
}

.dropdown:hover::before,
.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #666;
    text-decoration: none;
    transition: all 0.2s;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: #2563eb;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: #666;
    font-size: 1.3rem;
    transition: color 0.3s;
}

.theme-toggle:hover {
    color: #2563eb;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
}

/* Hero Header */
.centered-header {
    background: #fff;
    padding: 2rem 2rem 1.5rem;
    text-align: center;
    margin-bottom: 0;
}

.centered-header h1 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.simple-description {
    font-size: 1.1rem;
    color: #64748b;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

/* Main Editor Container */
.compact-editor-container {
    max-width: 1000px;
    margin: 0 auto 2rem;
}

.editor-layout {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    padding: 2rem;
}

/* Control Panel */
.control-panel {
    margin-bottom: 1.5rem;
}

.control-row {
    margin-bottom: 0.75rem;
}

.control-row.three-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.control-group {
    display: flex;
    flex-direction: column;
}

.control-group label {
    display: block;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.control-group input,
.control-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    background: #fff;
    color: #333;
}

.control-group input:focus,
.control-group select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Checkbox Options */
.letter-type {
    background: #f8fafc;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1rem;
}

.letter-type > label {
    font-weight: 600;
    color: #475569;
    font-size: 0.9rem;
    white-space: nowrap;
}

.checkbox-row {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 0;
    row-gap: 0.75rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #2563eb;
}

.checkbox-group label {
    cursor: pointer;
    color: #475569;
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
}

/* Buttons */
.button-group {
    margin-top: 1rem;
}

.primary-btn,
.generate-btn {
    width: 100%;
    padding: 1rem;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.3);
}

.primary-btn:hover,
.generate-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.4);
}

.primary-btn:active,
.generate-btn:active {
    transform: translateY(0);
}

.secondary-btn {
    flex: 1;
    padding: 0.9rem;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    color: #475569;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.secondary-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: #eff6ff;
}

.button-group {
    display: flex;
    gap: 1rem;
}

/* Output Container */
.output-container {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
}

.output-field {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    min-height: 100px;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2563eb;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    word-break: break-all;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    transition: all 0.15s ease;
}

.output-field:hover {
    border-color: #94a3b8;
}

/* Color Generator Specific */
#color-generator-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
    align-items: stretch;
    padding: 2rem;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    border-radius: 12px;
}

#color-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    height: fit-content;
}

#color-controls .control-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 0;
}

#color-controls .button-group {
    margin-top: 0.5rem;
}

#palette-output {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 0;
    background: transparent;
    border-radius: 0;
    min-height: 100%;
    justify-content: flex-start;
}

.color-box {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 1.5rem 2rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    flex: 1;
    min-height: 60px;
    position: relative;
}

.color-box:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.color-box:hover .color-code {
    background: rgba(255, 255, 255, 0.25);
}

.color-code {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    color: #ffffff;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-family: 'Courier New', monospace;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

/* Info Sections */
.info-sections {
    max-width: 1000px;
    margin: 2rem auto;
}

.info-section {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
}

.info-section h2 {
    color: #1e293b;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.info-content {
    color: #475569;
    line-height: 1.8;
}

.info-content p {
    margin-bottom: 1rem;
}

.info-content ul {
    list-style-position: inside;
    margin-left: 1rem;
}

.info-content li {
    margin-bottom: 0.5rem;
    color: #64748b;
}

.faq-item {
    margin-bottom: 2rem;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item h3 {
    color: #1e293b;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.faq-item p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.faq-item ul {
    margin-top: 0.5rem;
}

/* Footer */
footer {
    background: #1e293b;
    color: #cbd5e1;
    padding: 1.5rem;
    margin-top: 3rem;
    text-align: center;
}

footer p {
    margin: 0;
}

.footer-link {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
    margin: 0 0.5rem;
}

.footer-link:hover {
    color: #fff;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #1e293b;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transform: translateY(150%);
    transition: transform 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toast.show {
    transform: translateY(0);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.modal-content h2 {
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.modal-content p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.template-item {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    padding: 1.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #475569;
    font-weight: 600;
}

.template-item:hover {
    background: #eff6ff;
    border-color: #2563eb;
    color: #2563eb;
    transform: translateY(-2px);
}

.template-item i {
    font-size: 2rem;
}

.template-item span {
    font-size: 0.9rem;
}

.close {
    color: #94a3b8;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #1e293b;
}

.modal-close-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-close-btn:hover {
    background: #1d4ed8;
}

/* Privacy Policy & Disclaimer Pages */
.page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.page-header {
    background: #fff;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.page-header .date {
    color: #64748b;
    font-size: 0.95rem;
}

.page-content {
    background: #fff;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    line-height: 1.8;
}

.page-content h2 {
    color: #1e293b;
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.page-content h3 {
    color: #475569;
    font-size: 1.3rem;
    margin: 1.5rem 0 0.75rem;
    font-weight: 600;
}

.page-content p {
    color: #64748b;
    margin-bottom: 1rem;
}

.page-content ul,
.page-content ol {
    color: #64748b;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

.page-content a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.page-content a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo i {
        font-size: 1.5rem;
    }

    .centered-header h1 {
        font-size: 2rem;
    }

    .simple-description {
        font-size: 1rem;
    }

    .editor-layout {
        padding: 2rem 1.5rem;
    }

    .control-row.three-columns {
        grid-template-columns: 1fr;
    }

    .checkbox-row {
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .letter-type {
        grid-template-columns: 1fr;
    }
    
    .letter-type > label {
        margin-bottom: 0.5rem;
    }
    
    .control-group:has(.checkbox-row) {
        grid-template-columns: 1fr;
    }
    
    .control-group:has(.checkbox-row) > label {
        margin-bottom: 0.5rem;
    }
    
    .control-group .checkbox-row {
        gap: 1rem;
        flex-wrap: wrap;
        row-gap: 0.75rem;
    }

    .button-group {
        flex-direction: column;
    }
    
    .password-result-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .password-output {
        font-size: 1.3rem;
    }
    
    .password-actions {
        flex-direction: row;
        min-width: auto;
    }
    
    .password-row-combined {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .password-spacer {
        display: none;
    }
    
    .datetime-result-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .datetime-output {
        font-size: 1.3rem;
    }
    
    .datetime-actions {
        flex-direction: row;
        min-width: auto;
    }
    
    .boolean-result-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .boolean-output {
        font-size: 2rem;
    }
    
    .boolean-actions {
        flex-direction: row;
        min-width: auto;
    }
    
    .picker-result-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .picker-output {
        font-size: 1.6rem;
    }
    
    .picker-actions {
        flex-direction: row;
        min-width: auto;
    }
    
    .coordinate-layout {
        padding: 1.5rem;
    }
    
    .coordinate-result-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .coordinate-decimal {
        font-size: 1.4rem;
    }
    
    .coordinate-dms {
        font-size: 1rem;
    }
    
    .coordinate-actions {
        flex-direction: row;
        min-width: auto;
    }
    
    .map-links {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .map-link {
        justify-content: center;
    }
    
    .shape-layout {
        padding: 1.5rem;
    }

    .shape-preview-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .preview-container {
        min-height: 200px;
        max-height: 200px;
    }
    
    .preview-container svg {
        max-width: 200px;
        max-height: 200px;
    }
    
    .shape-actions {
        flex-direction: row;
        min-width: auto;
    }
    
    .code-output {
        font-size: 0.85rem;
    }
    
    .input-area textarea {
        font-size: 0.95rem;
    }
    
    .input-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .import-buttons {
        width: 100%;
    }
    
    .import-btn {
        flex: 1;
        justify-content: center;
    }
    
    .template-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 0.75rem;
    }
    
    .template-item {
        padding: 1rem 0.5rem;
    }
    
    .template-item i {
        font-size: 1.5rem;
    }
    
    .output-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .output-field {
        font-size: 1.5rem;
        padding: 1.5rem;
    }

    .info-section {
        padding: 2rem 1.5rem;
    }

    .info-section h2 {
        font-size: 1.5rem;
    }

    #palette-output {
        gap: 1rem;
    }
    
    .color-box {
        min-height: 70px;
        padding: 1rem 1.5rem;
    }
    
    .color-code {
        font-size: 1rem;
        padding: 0.6rem 1rem;
        letter-spacing: 0.5px;
    }
    
    #color-generator-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    #color-controls {
        position: static;
        padding: 0;
    }

    .page-content {
        padding: 2rem 1.5rem;
    }
}

/* Number Generator Specific Styles */
#decimal-options {
    margin-top: 1rem;
}

/* Number Options Layout - similar to letter-type */
.control-group:has(.checkbox-row) {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1rem;
}

.control-group:has(.checkbox-row) > label {
    font-weight: 600;
    color: #475569;
    font-size: 0.9rem;
    white-space: nowrap;
    margin-bottom: 0;
}

.control-group .checkbox-row {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 0;
    row-gap: 0.75rem;
}

/* Ensure consistent spacing */
.control-row + .control-row {
    margin-top: 0.5rem;
}

/* Coordinate Generator Specific Styles */
.coordinate-layout {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    padding: 2rem;
}

.coordinate-result-section {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 1.5rem;
}

.coordinate-display {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.coordinate-decimal {
    font-family: 'Courier New', monospace;
    font-size: 1.8rem;
    color: #2563eb;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.15s ease;
}

.coordinate-dms {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    color: #64748b;
    font-weight: 600;
}

.map-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.map-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    color: #475569;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
}

.map-link:hover {
    background: #eff6ff;
    border-color: #2563eb;
    color: #2563eb;
    transform: translateY(-2px);
}

.map-link i {
    font-size: 1.1rem;
}

.coordinate-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 130px;
}

.coordinate-actions .primary-btn,
.coordinate-actions .secondary-btn {
    width: 100%;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-size: 0.95rem;
}

.coordinate-options-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Shape Generator Specific Styles */
.shape-layout {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    padding: 2rem;
}

.shape-preview-section {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 1.5rem;
}

.preview-container {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 250px;
    max-height: 250px;
}

.preview-container svg {
    max-width: 250px;
    max-height: 250px;
    width: auto;
    height: auto;
    display: block;
}

.shape-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 140px;
}

.shape-actions .primary-btn,
.shape-actions .secondary-btn {
    width: 100%;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-size: 0.95rem;
}

.svg-code-section {
    background: #1e293b;
    padding: 1.25rem;
    border-radius: 12px;
    max-width: 1000px;
    margin: 1rem auto 0;
}

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

.code-header h3 {
    color: #fff;
    font-size: 1rem;
    margin: 0;
}

.copy-code-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.copy-code-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.code-output {
    width: 100%;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 1rem;
    color: #e2e8f0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    resize: vertical;
}

.code-output:focus {
    outline: none;
    border-color: #2563eb;
}

.shape-options-inline {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

input[type="color"] {
    width: 100%;
    height: 42px;
    padding: 0.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

input[type="color"]:hover {
    border-color: #2563eb;
}

input[type="color"]:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Random Picker Specific Styles */
.picker-layout {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.picker-result-section {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: center;
    background: #f8fafc;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
}

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

.result-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.picker-output {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 2rem;
    white-space: pre-line;
    padding: 0;
    min-height: auto;
    background: transparent;
    border: none;
    color: #2563eb;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.picker-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 130px;
}

.picker-actions .primary-btn,
.picker-actions .secondary-btn {
    width: 100%;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-size: 0.95rem;
}

.picker-input-section {
    background: #fff;
    padding: 0;
    border-radius: 12px;
}

.input-area {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.input-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.input-header label {
    font-weight: 600;
    color: #475569;
    font-size: 0.9rem;
}

.import-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.import-btn {
    background: #fff;
    border: 2px solid #e2e8f0;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.import-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: #eff6ff;
}

.import-btn i {
    font-size: 1rem;
}

.input-area textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    resize: vertical;
    transition: all 0.3s;
    background: #fff;
    color: #333;
    line-height: 1.6;
}

.input-area textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.list-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.list-stats span {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

.text-btn {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.5rem;
    transition: all 0.3s;
}

.text-btn:hover {
    color: #dc2626;
    background: #fef2f2;
    border-radius: 4px;
}

.picker-options-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Boolean Generator Specific Styles */
.boolean-layout {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.boolean-result-section {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: center;
    background: #f8fafc;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
}

.boolean-display {
    display: flex;
    flex-direction: column;
}

.boolean-output {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 2.5rem;
    white-space: pre-line;
    padding: 0;
    min-height: auto;
    background: transparent;
    border: none;
    color: #2563eb;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.boolean-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 130px;
}

.boolean-actions .primary-btn,
.boolean-actions .secondary-btn {
    width: 100%;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-size: 0.95rem;
}

.boolean-options-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Date & Time Generator Specific Styles */
.datetime-layout {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.datetime-result-section {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: center;
    background: #f8fafc;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
}

.datetime-display {
    display: flex;
    flex-direction: column;
}

.datetime-output {
    font-family: 'Courier New', monospace;
    font-size: 1.6rem;
    white-space: pre-line;
    padding: 0;
    min-height: auto;
    background: transparent;
    border: none;
    color: #2563eb;
    font-weight: 700;
}

.datetime-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 130px;
}

.datetime-actions .primary-btn,
.datetime-actions .secondary-btn {
    width: 100%;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-size: 0.95rem;
}

.datetime-options-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

input[type="date"],
input[type="time"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    background: #fff;
    color: #333;
}

input[type="date"]:focus,
input[type="time"]:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Radio button styles */
.checkbox-group input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #2563eb;
}

/* Password Generator Specific Styles */
.password-layout {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.password-result-section {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: center;
    background: #f8fafc;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
}

.password-display {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.password-output {
    font-family: 'Courier New', monospace;
    word-break: break-all;
    font-size: 1.8rem;
    padding: 0;
    min-height: auto;
    background: transparent;
    border: none;
    color: #2563eb;
    font-weight: 700;
}

.strength-indicator {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.strength-text {
    font-size: 0.9rem;
    color: #475569;
}

.strength-text strong {
    font-size: 1rem;
    font-weight: 700;
}

.strength-bar {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    background: #10b981;
    transition: all 0.3s ease;
    width: 100%;
}

.password-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 130px;
}

.password-actions .primary-btn,
.password-actions .secondary-btn {
    width: 100%;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-size: 0.95rem;
}

.password-options-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.password-row-combined {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
    align-items: start;
}

.password-row-combined .control-group:first-child {
    display: flex;
    flex-direction: column;
}

.password-row-combined .letter-type {
    grid-template-columns: auto 1fr;
}

.password-spacer {
    /* Empty spacer for alignment */
}

.output-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.output-header h3 {
    margin: 0;
    font-size: 1rem;
    color: #1e293b;
}

