.tools-hub-wrapper {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(-45deg, #f5f7fa, #e4eefe, #fdfcfb, #e2ebf0);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.bg-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: #4A90E2;
    filter: blur(120px);
    opacity: 0.15;
    border-radius: 50%;
    top: -10%;
    left: -10%;
    z-index: 0;
}

.blob-orange {
    background: #F18D20;
    top: auto;
    left: auto;
    bottom: -10%;
    right: -10%;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hub-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1d1d1f;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.hub-subtitle {
    font-size: 1.25rem;
    color: rgba(29, 29, 31, 0.6);
}

.category-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 1.5rem;
}

.category-icon {
    width: 28px;
    height: 28px;
    color: #4A90E2;
}

.tool-card {
    display: block;
    height: 100%;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(25px);
    border: 2px solid rgba(74, 144, 226, 0.15);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

    .tool-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 24px rgba(0,0,0,0.08);
        border-color: rgba(74, 144, 226, 0.3);
    }

.tool-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tool-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 0.5rem;
}

.tool-description {
    font-size: 0.9rem;
    color: rgba(29, 29, 31, 0.6);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.tool-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #f5f5f7;
    border: 1px solid #d2d2d7;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #4A90E2;
}

@media (max-width: 768px) {
    .hub-title {
        font-size: 2rem;
    }
}

.public-tool-wrapper {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(-45deg, #f5f7fa, #e4eefe, #fdfcfb, #e2ebf0);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

@keyframes gradientShift {
    0% {
        background-position: 0 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0 50%;
    }
}

.glass-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.back-link {
    position: fixed;
    top: 2rem;
    left: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(74, 144, 226, 0.15);
    border-radius: 12px;
    color: #4A90E2;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    z-index: 100;
}

    .back-link:hover {
        transform: translateX(-4px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }

    .back-link svg {
        width: 20px;
        height: 20px;
    }

.brilliance-label-main {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.02em;
}

.brilliance-label-caps {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(29, 29, 31, 0.6);
}

.badge-csp {
    background: #f5f5f7;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid #d2d2d7;
    font-family: monospace;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkbox-label {
    font-size: 14px;
    font-weight: 400;
    color: #1d1d1f;
}

.brilliance-range {
    width: 100%;
    accent-color: #4A90E2;
}

.length-display {
    font-weight: 700;
    color: #4A90E2;
    font-size: 1.2rem;
}

.password-box-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-output-field {
    width: 100%;
    padding: 1rem;
    padding-right: 4rem;
    background: #f5f5f7;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    font-family: "SF Mono", "Cascadia Code", monospace;
    font-size: 1rem;
    color: #1d1d1f;
    outline: none;
}

.copy-btn {
    position: absolute;
    right: 10px;
    background: transparent;
    border: none;
    color: #4A90E2;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
}

.brilliance-button-primary {
    width: 100%;
    background: #4A90E2;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.2s;
}

    .brilliance-button-primary:hover {
        filter: brightness(1.05);
        transform: translateY(-1px);
    }

.strength-indicator {
    flex-grow: 1;
    height: 6px;
    background: #000000;
    background: rgba(0,0,0,0.05);
    border-radius: 3px;
    margin-right: 15px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    background: #4A90E2;
    box-shadow: 0 0 8px #4a90e2;
    box-shadow: 0 0 8px rgba(74, 144, 226, 0.4);
}

.footer-bar {
    background: #1d1d1f !important;
    background: rgba(29, 29, 31, 0.85) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.entropy-text {
    font-size: 12px;
    color: #86868b;
}

.resiliency-tag {
    text-align: center;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: #4A90E2;
    font-size: 12px;
}

.copy-btn {
    position: absolute;
    right: 15px;
    background: transparent;
    border: none;
    color: #4A90E2;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

    .copy-btn.copy-success {
        color: #28a745;
        transform: scale(1.15);
        animation: bounceIn 0.3s ease;
    }

@keyframes bounceIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1.15);
        opacity: 1;
    }
}

.tool-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 0.5rem;
}

.tool-subtitle {
    font-size: 0.95rem;
    color: rgba(29, 29, 31, 0.6);
}

.mode-toggle {
    display: flex;
    gap: 0.5rem;
    background: #f5f5f7;
    padding: 0.5rem;
    border-radius: 12px;
}

.mode-btn {
    flex: 1;
    padding: 0.75rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    color: rgba(29, 29, 31, 0.6);
    cursor: pointer;
    transition: all 0.2s;
}

    .mode-btn.active {
        background: #4A90E2;
        color: white;
        box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
    }

.brilliance-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(29, 29, 31, 0.6);
    margin-bottom: 0.5rem;
}

.brilliance-textarea {
    width: 100%;
    padding: 1rem;
    background: #f5f5f7;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    font-family: "SF Mono", "Cascadia Code", monospace;
    font-size: 0.9rem;
    resize: vertical;
    outline: none;
}

.brilliance-button-primary {
    width: 100%;
    background: #4A90E2;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

    .brilliance-button-primary:hover {
        filter: brightness(1.1);
        transform: translateY(-2px);
    }

.result-area {
    background: rgba(255, 255, 255, 0.5);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.output-box {
    background: #1d1d1f;
    padding: 1rem;
    border-radius: 8px;
    max-height: 300px;
    overflow-y: auto;
}

    .output-box code {
        color: #30d158;
        font-family: "SF Mono", "Cascadia Code", monospace;
        font-size: 0.85rem;
        word-break: break-all;
        white-space: pre-wrap;
    }

.copy-button {
    background: transparent;
    border: 1px solid #4A90E2;
    color: #4A90E2;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

    .copy-button:hover {
        background: #4A90E2;
        color: white;
    }

.error-message {
    padding: 1rem;
    background: rgba(255, 59, 48, 0.1);
    border: 1px solid rgba(255, 59, 48, 0.2);
    border-radius: 12px;
    color: #d1453b;
    font-weight: 500;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: slideIn 0.3s ease-out;
}

.required {
    color: #d1453b;
}

.brilliance-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #f5f5f7;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    font-size: 0.95rem;
    outline: none;
}

.form-hint {
    display: block;
    font-size: 0.8rem;
    color: rgba(29, 29, 31, 0.5);
    margin-top: 0.25rem;
    font-style: italic;
}

.dns-record-box {
    background: #f5f5f7;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #d2d2d7;
}

.record-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: rgba(29, 29, 31, 0.6);
    margin-bottom: 0.25rem;
}

.record-value {
    font-family: "Courier New", monospace;
    font-size: 0.9rem;
    color: #1d1d1f;
    word-break: break-all;
}

.record-value-text {
    width: 100%;
    font-family: "Courier New", monospace;
    font-size: 0.85rem;
    color: #1d1d1f;
    background: white;
    border: 1px solid #d2d2d7;
    border-radius: 4px;
    padding: 0.5rem;
    resize: vertical;
}

.requirements-section, .providers-section {
    background: rgba(255, 149, 0, 0.05);
    border: 1px solid rgba(255, 149, 0, 0.2);
    border-radius: 8px;
    padding: 1rem;
}

.section-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 1rem;
}

.requirement-card {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.requirement-icon {
    font-size: 1.25rem;
    color: #34c759;
    font-weight: bold;
}

.requirement-content {
    font-size: 0.85rem;
    color: rgba(29, 29, 31, 0.8);
    line-height: 1.5;
}

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

.provider-card {
    background: rgba(255, 255, 255, 0.7);
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
}

.provider-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 0.25rem;
}

.provider-status {
    font-size: 0.8rem;
    color: #34c759;
    font-weight: 600;
}

.info-section {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(74, 144, 226, 0.05);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 8px;
}

.info-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.info-text {
    font-size: 0.85rem;
    color: rgba(29, 29, 31, 0.8);
    line-height: 1.5;
    flex: 1;
}

.implementation-steps {
    margin: 0.5rem 0 0 1.25rem;
    padding: 0;
}

    .implementation-steps li {
        margin: 0.5rem 0;
    }

.best-practices {
    background: rgba(52, 199, 89, 0.05);
    border: 1px solid rgba(52, 199, 89, 0.2);
    border-radius: 8px;
    padding: 1rem;
}

.practices-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 0.75rem;
}

.practices-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .practices-list li {
        font-size: 0.85rem;
        color: rgba(29, 29, 31, 0.8);
        padding: 0.25rem 0;
        line-height: 1.5;
    }

.brilliance-textarea {
    width: 100%;
    padding: 1rem;
    background: #f5f5f7;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    font-family: "SF Mono", "Cascadia Code", monospace;
    font-size: 0.85rem;
    resize: vertical;
    outline: none;
}

.options-row {
    background: #f5f5f7;
    padding: 1rem;
    border-radius: 12px;
}

.form-check {
    padding-left: 1.5rem;
}

.form-check-input {
    margin-top: 0.25rem;
}

.form-check-label {
    font-size: 0.9rem;
    color: rgba(29, 29, 31, 0.8);
}

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

.copy-button-small {
    background: transparent;
    border: 1px solid #4A90E2;
    color: #4A90E2;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

    .copy-button-small:hover {
        background: #4A90E2;
        color: white;
    }

.output-box {
    background: #1d1d1f;
    padding: 1rem;
    border-radius: 8px;
    max-height: 400px;
    overflow-y: auto;
}

    .output-box code {
        color: #30d158;
        font-family: "SF Mono", "Cascadia Code", monospace;
        font-size: 0.85rem;
        word-break: break-all;
        white-space: pre-wrap;
        line-height: 1.6;
    }

.stats-section {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(74, 144, 226, 0.05);
    border-radius: 8px;
}

.stat-item {
    flex: 1;
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: rgba(29, 29, 31, 0.5);
    margin-bottom: 0.25rem;
}

.stat-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #4A90E2;
}

.color-input-group {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.color-picker {
    width: 60px;
    height: 48px;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    cursor: pointer;
    background: none;
}

.brilliance-input {
    padding: 0.75rem 1rem;
    background: #f5f5f7;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    font-size: 0.95rem;
    outline: none;
}

.color-text {
    flex: 1;
}

.simulation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.vision-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #d2d2d7;
    transition: transform 0.2s;
}

    .vision-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    }

    .vision-card.normal {
        border: 2px solid #4A90E2;
    }

.vision-preview {
    height: 120px;
    width: 100%;
}

.vision-info {
    padding: 1rem;
}

.vision-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 0.25rem;
}

.vision-description {
    font-size: 0.85rem;
    color: rgba(29, 29, 31, 0.6);
    margin-bottom: 0.5rem;
}

.color-value {
    font-family: "Courier New", monospace;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4A90E2;
    margin-bottom: 0.5rem;
}

.vision-stats {
    font-size: 0.75rem;
    color: rgba(29, 29, 31, 0.5);
    font-style: italic;
}

.comparison-section {
    background: #f5f5f7;
    padding: 1.5rem;
    border-radius: 12px;
}

.section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 1rem;
}

.comparison-grid {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.comparison-item {
    min-width: 100px;
    text-align: center;
}

.comparison-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(29, 29, 31, 0.6);
    margin-bottom: 0.5rem;
}

.comparison-swatch {
    height: 80px;
    border-radius: 8px;
    border: 2px solid #d2d2d7;
}

.info-text {
    font-size: 0.85rem;
    color: rgba(29, 29, 31, 0.8);
    line-height: 1.5;
}

.best-practices, .resources-section {
    background: rgba(52, 199, 89, 0.05);
    border: 1px solid rgba(52, 199, 89, 0.2);
    border-radius: 8px;
    padding: 1rem;
}

.cvd-types {
    display: grid;
    gap: 0.75rem;
}

.cvd-type {
    font-size: 0.85rem;
    color: rgba(29, 29, 31, 0.8);
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 4px;
}

    .cvd-type strong {
        color: #1d1d1f;
    }

.color-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 576px) {
    .color-inputs {
        grid-template-columns: 1fr;
    }
}

.color-input-group {
    background: #f5f5f7;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #d2d2d7;
}

.color-picker-wrapper {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.color-picker {
    width: 60px;
    height: 60px;
    border: 2px solid #d2d2d7;
    border-radius: 8px;
    cursor: pointer;
}

.color-text-input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    font-family: "SF Mono", "Cascadia Code", monospace;
    font-size: 0.9rem;
    outline: none;
}

.brilliance-button-primary:hover:not(:disabled) {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.brilliance-button-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.preview-section {
    text-align: center;
}

.color-preview {
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #d2d2d7;
}

.preview-text-large {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.preview-text-normal {
    font-size: 1rem;
}

.contrast-score {
    text-align: center;
}

.ratio-display {
    font-size: 3rem;
    font-weight: 700;
    color: #4A90E2;
    font-family: "SF Mono", "Cascadia Code", monospace;
}

.wcag-compliance {
    margin-top: 1.5rem;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 576px) {
    .compliance-grid {
        grid-template-columns: 1fr;
    }
}

.compliance-card {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #d2d2d7;
    text-align: center;
}

.compliance-level {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(29, 29, 31, 0.5);
    margin-bottom: 0.5rem;
}

.compliance-status {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

    .compliance-status.pass {
        color: #1f6f43;
    }

    .compliance-status.fail {
        color: #d1453b;
    }

.compliance-requirement {
    font-size: 0.75rem;
    color: rgba(29, 29, 31, 0.6);
}

.brilliance-select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #f5f5f7;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    font-size: 0.95rem;
    outline: none;
    cursor: pointer;
}

.loading-state {
    text-align: center;
    padding: 3rem 1rem;
    color: rgba(29, 29, 31, 0.6);
}

.spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 1rem;
    border: 4px solid rgba(74, 144, 226, 0.2);
    border-top-color: #4A90E2;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.results-summary {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(29, 29, 31, 0.7);
}

.countries-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.country-card {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    transition: all 0.2s;
}

    .country-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

.country-flag {
    font-size: 3rem;
    line-height: 1;
}

.country-info {
    flex: 1;
}

.country-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 0.75rem 0;
}

.country-details {
    display: grid;
    gap: 0.5rem;
}

.detail-row {
    display: flex;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.detail-label {
    font-weight: 600;
    color: rgba(29, 29, 31, 0.5);
    min-width: 80px;
}

.detail-value {
    color: #1d1d1f;
}

.no-results {
    text-align: center;
    padding: 3rem 1rem;
    color: rgba(29, 29, 31, 0.6);
    font-size: 0.95rem;
}

.error-message {
    padding: 1rem;
    background: rgba(255, 59, 48, 0.1);
    border: 1px solid rgba(255, 59, 48, 0.2);
    border-radius: 12px;
    color: #d1453b;
    font-weight: 500;
    text-align: center;
}

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

.savings-badge {
    display: inline-block;
    background: rgba(48, 209, 88, 0.1);
    color: #1f6f43;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 0.25rem;
}

.css-output {
    background: #1d1d1f;
    padding: 1rem;
    border-radius: 8px;
    max-height: 500px;
    overflow-y: auto;
}

    .css-output pre {
        margin: 0;
        color: #30d158;
        font-family: "SF Mono", "Cascadia Code", monospace;
        font-size: 0.85rem;
    }

    .css-output code {
        white-space: pre-wrap;
        word-break: break-all;
    }

.stats-row {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(74, 144, 226, 0.05);
    border-radius: 8px;
}

.stat-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1d1d1f;
}

    .stat-value.savings {
        color: #1f6f43;
    }

.alert-info {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 149, 0, 0.1);
    border: 1px solid rgba(255, 149, 0, 0.3);
    border-radius: 8px;
}

.alert-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.alert-text {
    font-size: 0.85rem;
    color: rgba(29, 29, 31, 0.8);
    line-height: 1.5;
}

.code-output {
    width: 100%;
    background: #1d1d1f;
    color: #00ff00;
    padding: 1rem;
    border-radius: 8px;
    font-family: "Courier New", monospace;
    font-size: 0.85rem;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
    line-height: 1.5;
    border: none;
    resize: vertical;
}

.private-key-section {
    background: rgba(255, 59, 48, 0.05);
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid rgba(255, 59, 48, 0.2);
}

.private-key {
    border: 2px solid #d1453b;
}

.security-note {
    display: block;
    font-size: 0.8rem;
    color: #d1453b;
    font-weight: 600;
    margin-top: 0.5rem;
}

.best-practices, .verification-section {
    background: rgba(52, 199, 89, 0.05);
    border: 1px solid rgba(52, 199, 89, 0.2);
    border-radius: 8px;
    padding: 1rem;
}

.practices-list, .verification-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .practices-list li, .verification-list li {
        font-size: 0.85rem;
        color: rgba(29, 29, 31, 0.8);
        padding: 0.25rem 0;
        line-height: 1.5;
    }

.verification-text {
    font-size: 0.85rem;
    color: rgba(29, 29, 31, 0.8);
    margin-bottom: 0.5rem;
}

.input-hint {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: rgba(29, 29, 31, 0.5);
}

.dns-record-box {
    background: #f5f5f7;
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid #d2d2d7;
}

.dns-field {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

    .dns-field:last-child {
        margin-bottom: 0;
    }

.dns-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(29, 29, 31, 0.5);
    min-width: 60px;
}

.dns-value {
    font-family: "SF Mono", "Cascadia Code", monospace;
    font-size: 0.85rem;
    color: #1d1d1f;
    font-weight: 500;
}

.dns-record {
    font-family: "SF Mono", "Cascadia Code", monospace;
    font-size: 0.85rem;
    color: #4A90E2;
    font-weight: 600;
    word-break: break-all;
    display: block;
}

.warning-box {
    background: rgba(255, 149, 0, 0.1);
    border: 1px solid rgba(255, 149, 0, 0.3);
    border-radius: 8px;
    padding: 1rem;
    color: #cc7a00;
    font-size: 0.85rem;
}

    .warning-box ul {
        padding-left: 1.25rem;
        margin: 0;
    }

    .warning-box li {
        margin-bottom: 0.25rem;
    }

.upload-area {
    position: relative;
    border: 2px dashed #d2d2d7;
    border-radius: 12px;
    background: #f5f5f7;
    transition: all 0.2s;
}

    .upload-area.dragging {
        border-color: #4A90E2;
        background: rgba(74, 144, 226, 0.05);
    }

.file-input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
}

.upload-label {
    display: block;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.upload-text {
    font-size: 0.95rem;
    color: #1d1d1f;
    margin-bottom: 0.5rem;
}

.upload-hint {
    font-size: 0.8rem;
    color: rgba(29, 29, 31, 0.6);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.download-all-button {
    background: #4A90E2;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

    .download-all-button:hover {
        filter: brightness(1.1);
    }

.favicon-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

.favicon-item {
    background: white;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
}

.favicon-image-wrapper {
    background: #f5f5f7;
    border-radius: 6px;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
}

.favicon-image {
    width: 100%;
    height: auto;
    display: block;
}

.favicon-size {
    font-weight: 700;
    font-size: 0.85rem;
    color: #1d1d1f;
    margin-bottom: 0.25rem;
}

.favicon-purpose {
    font-size: 0.7rem;
    color: rgba(29, 29, 31, 0.6);
    margin-bottom: 0.5rem;
}

.favicon-download-btn {
    background: transparent;
    border: 1px solid #4A90E2;
    color: #4A90E2;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}

    .favicon-download-btn:hover {
        background: #4A90E2;
        color: white;
    }

.code-section {
    background: white;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    padding: 1rem;
}

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

.code-box {
    background: #1d1d1f;
    padding: 1rem;
    border-radius: 6px;
    max-height: 300px;
    overflow-y: auto;
}

    .code-box pre {
        margin: 0;
        color: #30d158;
        font-family: "SF Mono", "Cascadia Code", monospace;
        font-size: 0.75rem;
    }

    .code-box code {
        white-space: pre-wrap;
        word-break: break-all;
    }

.quantity-input {
    width: 120px;
    padding: 0.75rem;
    background: #f5f5f7;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    color: #4A90E2;
    outline: none;
}

.brilliance-select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #f5f5f7;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    font-size: 0.9rem;
    outline: none;
    cursor: pointer;
}

.result-area {
    background: rgba(255, 255, 255, 0.5);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: slideIn 0.3s ease-out;
}

.guid-list {
    max-height: 400px;
    overflow-y: auto;
}

.guid-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: #f5f5f7;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    gap: 1rem;
}

    .guid-item code {
        font-family: "SF Mono", "Cascadia Code", monospace;
        font-size: 0.85rem;
        color: #1d1d1f;
        flex: 1;
        overflow-x: auto;
    }

.copy-icon {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.25rem;
    opacity: 0.6;
    transition: all 0.2s;
}

    .copy-icon:hover {
        opacity: 1;
        transform: scale(1.1);
    }

.brilliance-textarea {
    width: 100%;
    padding: 1rem;
    background: #f5f5f7;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    font-family: "SF Mono", "Cascadia Code", monospace;
    font-size: 0.95rem;
    resize: vertical;
    outline: none;
}

.hash-output {
    background: #1d1d1f;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
}

    .hash-output code {
        color: #30d158;
        font-family: "SF Mono", "Cascadia Code", monospace;
        font-size: 0.85rem;
        word-break: break-all;
    }

.options-section {
    background: #f5f5f7;
    padding: 1rem;
    border-radius: 12px;
}

.options-grid {
    display: grid;
    gap: 0.75rem;
}

.common-entities {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #d2d2d7;
}

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

.entity-card {
    background: #f5f5f7;
    padding: 0.75rem;
    border-radius: 6px;
    text-align: center;
}

.entity-char {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.entity-code {
    font-family: "SF Mono", "Cascadia Code", monospace;
    font-size: 0.75rem;
    color: #4A90E2;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.entity-name {
    font-size: 0.7rem;
    color: rgba(29, 29, 31, 0.6);
}

.html-output {
    background: #1d1d1f;
    padding: 1rem;
    border-radius: 8px;
    max-height: 500px;
    overflow-y: auto;
}

    .html-output pre {
        margin: 0;
        color: #30d158;
        font-family: "SF Mono", "Cascadia Code", monospace;
        font-size: 0.85rem;
    }

    .html-output code {
        white-space: pre-wrap;
        word-break: break-all;
    }

.ids-list {
    background: #1d1d1f;
    padding: 1rem;
    border-radius: 8px;
    max-height: 400px;
    overflow-y: auto;
}

.id-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

    .id-item:last-child {
        border-bottom: none;
    }

.id-code {
    flex: 1;
    color: #30d158;
    font-family: "SF Mono", "Cascadia Code", monospace;
    font-size: 0.85rem;
    word-break: break-all;
}

.copy-icon-button {
    background: transparent;
    border: 1px solid rgba(74, 144, 226, 0.3);
    color: #4A90E2;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

    .copy-icon-button:hover {
        background: rgba(74, 144, 226, 0.1);
    }

.button-row {
    display: flex;
    gap: 0.5rem;
}

.brilliance-button {
    flex: 1;
    background: #4A90E2;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

    .brilliance-button:hover {
        filter: brightness(1.1);
        transform: translateY(-1px);
    }

.brilliance-button-secondary {
    flex: 1;
    background: transparent;
    color: #4A90E2;
    border: 1px solid #4A90E2;
    padding: 0.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

    .brilliance-button-secondary:hover {
        background: #4A90E2;
        color: white;
    }

.json-output {
    background: #1d1d1f;
    padding: 1rem;
    border-radius: 8px;
    max-height: 500px;
    overflow-y: auto;
}

    .json-output pre {
        margin: 0;
        color: #30d158;
        font-family: "SF Mono", "Cascadia Code", monospace;
        font-size: 0.85rem;
    }

    .json-output code {
        white-space: pre-wrap;
        word-break: break-all;
    }

.success-message {
    padding: 1rem;
    background: rgba(48, 209, 88, 0.1);
    border: 1px solid rgba(48, 209, 88, 0.2);
    border-radius: 12px;
    color: #1f6f43;
    font-weight: 500;
    margin-top: 1rem;
}

.error-message {
    padding: 1rem;
    background: rgba(255, 59, 48, 0.1);
    border: 1px solid rgba(255, 59, 48, 0.2);
    border-radius: 12px;
    color: #d1453b;
    font-weight: 500;
    margin-top: 1rem;
}

.brilliance-select, .brilliance-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #f5f5f7;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    font-size: 0.95rem;
    outline: none;
}

.brilliance-select {
    cursor: pointer;
}

.security-warning {
    background: rgba(255, 149, 0, 0.1);
    border: 1px solid rgba(255, 149, 0, 0.3);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    color: #cc7a00;
}

.copy-all-button {
    background: #4A90E2;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

    .copy-all-button:hover {
        filter: brightness(1.1);
    }

.keys-list {
    background: #1d1d1f;
    padding: 1rem;
    border-radius: 8px;
    max-height: 400px;
    overflow-y: auto;
}

.key-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

    .key-item:last-child {
        border-bottom: none;
    }

.key-code {
    flex: 1;
    color: #30d158;
    font-family: "SF Mono", "Cascadia Code", monospace;
    font-size: 0.85rem;
    word-break: break-all;
}

.key-actions {
    display: flex;
    gap: 0.5rem;
}

.stats-section {
    display: flex;
    gap: 2rem;
    padding: 1rem;
    background: rgba(74, 144, 226, 0.05);
    border-radius: 8px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.stat-label {
    font-weight: 600;
    color: rgba(29, 29, 31, 0.6);
}

.stat-value {
    font-weight: 700;
    color: #4A90E2;
}

.best-practices {
    background: rgba(74, 144, 226, 0.05);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.practices-list {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.85rem;
    color: rgba(29, 29, 31, 0.8);
    line-height: 1.8;
}

    .practices-list li {
        margin-bottom: 0.25rem;
    }

.file-input {
    width: 100%;
    padding: 0.75rem;
    background: #f5f5f7;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    cursor: pointer;
}

.metadata-preview {
    background: rgba(255, 149, 0, 0.05);
    border: 2px solid rgba(255, 149, 0, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
}

.preview-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 1rem;
}

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

.metadata-item {
    background: rgba(255, 255, 255, 0.7);
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
}

.meta-key {
    font-weight: 600;
    color: rgba(29, 29, 31, 0.6);
    display: block;
    margin-bottom: 0.25rem;
}

.meta-value {
    color: #1d1d1f;
    font-family: "Courier New", monospace;
    word-break: break-all;
}

.metadata-warning {
    font-size: 0.85rem;
    color: #c07600;
    font-weight: 600;
    padding: 0.75rem;
    background: rgba(255, 149, 0, 0.1);
    border-radius: 6px;
    text-align: center;
}

.success-banner {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(52, 199, 89, 0.1);
    border: 2px solid rgba(52, 199, 89, 0.3);
    border-radius: 12px;
    align-items: center;
}

.banner-icon {
    font-size: 3rem;
    color: #34c759;
    line-height: 1;
}

.banner-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 0.25rem;
}

.banner-text {
    font-size: 0.9rem;
    color: rgba(29, 29, 31, 0.7);
    margin: 0;
}

.image-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1.5rem;
    align-items: center;
}

.comparison-arrow {
    font-size: 2rem;
    color: #4A90E2;
    font-weight: bold;
}

.column-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 0.75rem;
    text-align: center;
}

.image-preview-box {
    background: repeating-conic-gradient(#f0f0f0 0% 25%, white 0% 50%) 50% / 20px 20px;
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid #d2d2d7;
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preview-image {
    max-width: 100%;
    max-height: 300px;
    border-radius: 4px;
}

.image-info {
    margin-top: 0.75rem;
    text-align: center;
}

.info-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

    .info-badge.danger {
        background: rgba(255, 59, 48, 0.1);
        color: #d1453b;
        border: 1px solid rgba(255, 59, 48, 0.3);
    }

    .info-badge.success {
        background: rgba(52, 199, 89, 0.1);
        color: #248a3d;
        border: 1px solid rgba(52, 199, 89, 0.3);
    }

.info-text {
    font-size: 0.85rem;
    color: rgba(29, 29, 31, 0.6);
    font-weight: 600;
}

.action-buttons {
    text-align: center;
}

.download-button {
    background: #4A90E2;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

    .download-button:hover {
        filter: brightness(1.1);
        transform: translateY(-2px);
    }

.best-practices, .metadata-types {
    background: rgba(52, 199, 89, 0.05);
    border: 1px solid rgba(52, 199, 89, 0.2);
    border-radius: 8px;
    padding: 1rem;
}

.metadata-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
}

.metadata-type-card {
    background: rgba(255, 255, 255, 0.5);
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
}

.type-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.type-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 0.25rem;
}

.type-desc {
    font-size: 0.75rem;
    color: rgba(29, 29, 31, 0.6);
}

@media (max-width: 768px) {
    .image-comparison {
        grid-template-columns: 1fr;
    }

    .comparison-arrow {
        transform: rotate(90deg);
    }
}

.mx-row {
    display: flex;
    gap: 0.5rem;
}

.delete-mx-btn {
    background: #ff3b30;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
}

    .delete-mx-btn:hover {
        filter: brightness(1.1);
    }

.add-mx-btn {
    background: #4A90E2;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 0.5rem;
}

    .add-mx-btn:hover {
        filter: brightness(1.1);
        transform: translateY(-2px);
    }

.section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 0.75rem;
}

.policy-instructions {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(74, 144, 226, 0.1);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 8px;
}

.instruction-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.instruction-text {
    font-size: 0.85rem;
    color: rgba(29, 29, 31, 0.8);
    line-height: 1.6;
}

    .instruction-text code {
        background: rgba(0, 0, 0, 0.05);
        padding: 0.125rem 0.375rem;
        border-radius: 3px;
        font-family: "Courier New", monospace;
        font-size: 0.85em;
    }

.code-output {
    background: #1d1d1f;
    color: #00ff00;
    padding: 1.5rem;
    border-radius: 8px;
    font-family: "Courier New", monospace;
    font-size: 0.85rem;
    overflow-x: auto;
    white-space: pre;
    line-height: 1.6;
    margin: 0;
}

.step-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.step-number {
    background: #4A90E2;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    font-size: 0.85rem;
    color: rgba(29, 29, 31, 0.8);
    line-height: 1.5;
}

    .step-content code {
        background: rgba(0, 0, 0, 0.05);
        padding: 0.125rem 0.375rem;
        border-radius: 3px;
        font-family: "Courier New", monospace;
        font-size: 0.85em;
    }

.quick-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.size-button {
    background: #f5f5f7;
    border: 1px solid #d2d2d7;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

    .size-button:hover {
        background: #4A90E2;
        color: white;
        border-color: #4A90E2;
    }

.image-preview {
    background: repeating-conic-gradient(#f0f0f0 0% 25%, white 0% 50%) 50% / 20px 20px;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #d2d2d7;
    overflow: auto;
}

.preview-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.image-info {
    background: #f5f5f7;
    padding: 1rem;
    border-radius: 8px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(29, 29, 31, 0.6);
}

.info-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1d1d1f;
    font-family: "Courier New", monospace;
}

.action-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.download-button, .copy-url-button {
    background: #4A90E2;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.copy-url-button {
    background: #34c759;
}

    .download-button:hover, .copy-url-button:hover {
        filter: brightness(1.1);
        transform: translateY(-2px);
    }

.code-section {
    background: #1d1d1f;
    padding: 1rem;
    border-radius: 8px;
}

.code-box {
    background: #2d2d2f;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
}

    .code-box code {
        color: #00ff00;
        font-family: "Courier New", monospace;
        font-size: 0.85rem;
        word-break: break-all;
    }

.brilliance-textarea {
    width: 100%;
    padding: 1rem;
    background: #f5f5f7;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    font-size: 0.95rem;
    resize: vertical;
    outline: none;
}

.qr-preview {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #d2d2d7;
}

.qr-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.text-preview {
    background: #f5f5f7;
    padding: 1rem;
    border-radius: 8px;
}

.preview-box {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #d2d2d7;
    max-height: 150px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 0.9rem;
    color: #1d1d1f;
}

.char-count {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: rgba(29, 29, 31, 0.6);
    text-align: right;
}

.brilliance-button-secondary {
    background: transparent;
    color: #4A90E2;
    border: 1px solid #4A90E2;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.qr-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
}

    .qr-preview img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
    }

.brilliance-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #f5f5f7;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    font-size: 0.95rem;
    resize: vertical;
    outline: none;
}

.vcard-preview {
    background: #f5f5f7;
    padding: 1rem;
    border-radius: 8px;
}

.contact-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #d2d2d7;
}

.contact-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 0.25rem;
}

.contact-title {
    font-size: 0.95rem;
    color: rgba(29, 29, 31, 0.7);
    margin-bottom: 0.25rem;
}

.contact-org {
    font-size: 0.95rem;
    color: #4A90E2;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: rgba(29, 29, 31, 0.8);
}

.detail-icon {
    font-size: 1.1rem;
}

.form-check {
    padding: 1rem;
    background: #f5f5f7;
    border-radius: 12px;
}

.form-check-label {
    font-size: 0.9rem;
    color: rgba(29, 29, 31, 0.8);
    padding-left: 0.5rem;
}

.wifi-details {
    background: #f5f5f7;
    padding: 1rem;
    border-radius: 8px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

    .detail-row:last-child {
        border-bottom: none;
    }

.detail-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(29, 29, 31, 0.6);
}

.detail-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1d1d1f;
}

.rule-row {
    background: rgba(255, 255, 255, 0.5);
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.delete-rule-btn {
    width: 100%;
    height: 100%;
    background: #ff3b30;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
}

    .delete-rule-btn:hover {
        filter: brightness(1.1);
    }

.add-rule-btn {
    background: #4A90E2;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

    .add-rule-btn:hover {
        filter: brightness(1.1);
        transform: translateY(-2px);
    }

.copy-button {
    background: #34c759;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

    .copy-button:hover {
        filter: brightness(1.1);
        transform: translateY(-2px);
    }

.code-output {
    background: #1d1d1f;
    color: #00ff00;
    padding: 1.5rem;
    border-radius: 8px;
    font-family: "Courier New", monospace;
    font-size: 0.9rem;
    overflow-x: auto;
    white-space: pre;
    line-height: 1.6;
}

.brilliance-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #f5f5f7;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    font-size: 0.9rem;
    font-family: "Courier New", monospace;
    resize: vertical;
    outline: none;
}

.success-banner, .error-banner {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 12px;
    align-items: center;
}

.success-banner {
    background: rgba(52, 199, 89, 0.1);
    border: 2px solid rgba(52, 199, 89, 0.3);
}

.error-banner {
    background: rgba(255, 59, 48, 0.1);
    border: 2px solid rgba(255, 59, 48, 0.3);
}

.banner-icon {
    font-size: 3rem;
    line-height: 1;
}

.success-banner .banner-icon {
    color: #34c759;
}

.error-banner .banner-icon {
    color: #ff3b30;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #d2d2d7;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #4A90E2;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(29, 29, 31, 0.6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.issues-section {
    padding: 1rem;
    border-radius: 8px;
}

.error-section {
    background: rgba(255, 59, 48, 0.05);
    border: 1px solid rgba(255, 59, 48, 0.2);
}

.warning-section {
    background: rgba(255, 149, 0, 0.05);
    border: 1px solid rgba(255, 149, 0, 0.2);
}

.issues-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 0.75rem;
}

.issues-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.issue-item {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 6px;
}

.error-item {
    background: rgba(255, 59, 48, 0.1);
}

.warning-item {
    background: rgba(255, 149, 0, 0.1);
}

.issue-message {
    font-size: 0.9rem;
    color: #1d1d1f;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.issue-location {
    font-size: 0.8rem;
    color: rgba(29, 29, 31, 0.6);
    font-family: "Courier New", monospace;
}

.brilliance-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #f5f5f7;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    font-size: 0.9rem;
    resize: vertical;
    outline: none;
}

.score-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 16px;
    align-items: center;
}

    .score-card.excellent {
        background: linear-gradient(135deg, rgba(52, 199, 89, 0.1), rgba(52, 199, 89, 0.2));
        border: 2px solid rgba(52, 199, 89, 0.3);
    }

    .score-card.good {
        background: linear-gradient(135deg, rgba(48, 176, 199, 0.1), rgba(48, 176, 199, 0.2));
        border: 2px solid rgba(48, 176, 199, 0.3);
    }

    .score-card.warning {
        background: linear-gradient(135deg, rgba(255, 149, 0, 0.1), rgba(255, 149, 0, 0.2));
        border: 2px solid rgba(255, 149, 0, 0.3);
    }

    .score-card.danger {
        background: linear-gradient(135deg, rgba(255, 59, 48, 0.1), rgba(255, 59, 48, 0.2));
        border: 2px solid rgba(255, 59, 48, 0.3);
    }

.score-icon {
    font-size: 4rem;
    line-height: 1;
}

.score-value {
    font-size: 3rem;
    font-weight: 800;
    color: #1d1d1f;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.score-label {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 0.5rem;
}

.score-description {
    font-size: 0.95rem;
    color: rgba(29, 29, 31, 0.7);
}

.issue-card {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    border-left: 4px solid;
}

    .issue-card.high {
        background: rgba(255, 59, 48, 0.05);
        border-color: #ff3b30;
    }

    .issue-card.medium {
        background: rgba(255, 149, 0, 0.05);
        border-color: #ff9500;
    }

    .issue-card.low {
        background: rgba(255, 204, 0, 0.05);
        border-color: #ffcc00;
    }

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

.issue-severity {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.issue-card.high .issue-severity {
    background: rgba(255, 59, 48, 0.2);
    color: #d1453b;
}

.issue-card.medium .issue-severity {
    background: rgba(255, 149, 0, 0.2);
    color: #c07600;
}

.issue-card.low .issue-severity {
    background: rgba(255, 204, 0, 0.2);
    color: #b39700;
}

.issue-impact {
    font-size: 0.85rem;
    font-weight: 700;
    color: #d1453b;
}

.issue-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 0.25rem;
}

.issue-description {
    font-size: 0.85rem;
    color: rgba(29, 29, 31, 0.7);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.issue-suggestion {
    font-size: 0.85rem;
    color: rgba(29, 29, 31, 0.8);
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    line-height: 1.5;
}

.success-message {
    padding: 1.5rem;
    background: rgba(52, 199, 89, 0.1);
    border: 2px solid rgba(52, 199, 89, 0.3);
    border-radius: 12px;
    color: #248a3d;
    font-weight: 600;
    text-align: center;
    font-size: 1.1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.stat-card {
    background: #f5f5f7;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(29, 29, 31, 0.6);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4A90E2;
}

.brilliance-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #f5f5f7;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    font-family: "SF Mono", "Cascadia Code", monospace;
    font-size: 0.85rem;
    resize: vertical;
    outline: none;
}

.code-output {
    background: #1d1d1f;
    color: #00ff00;
    padding: 1.5rem;
    border-radius: 8px;
    font-family: "Courier New", monospace;
    font-size: 0.85rem;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
    line-height: 1.6;
    margin: 0;
}

.preview-section {
    background: #f5f5f7;
    padding: 1rem;
    border-radius: 8px;
}

.preview-box {
    background: repeating-conic-gradient(#e0e0e0 0% 25%, white 0% 50%) 50% / 20px 20px;
    padding: 3rem;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.preview-element {
    width: 100px;
    height: 100px;
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    background: #f5f5f7;
    padding: 1rem;
    border-radius: 8px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(29, 29, 31, 0.6);
    text-transform: uppercase;
}

.stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: #4A90E2;
    font-family: "Courier New", monospace;
}

.result-area {
    background: rgba(255, 255, 255, 0.5);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.result-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.result-value {
    font-size: 3rem;
    font-weight: 700;
    color: #4A90E2;
}

.result-unit {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(29, 29, 31, 0.6);
}

.conversion-summary {
    font-size: 0.95rem;
    color: rgba(29, 29, 31, 0.7);
    padding: 0.75rem 1rem;
    background: rgba(74, 144, 226, 0.05);
    border-radius: 8px;
    font-weight: 500;
}

.warning-banner {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 59, 48, 0.1);
    border: 2px solid rgba(255, 59, 48, 0.3);
    border-radius: 12px;
    align-items: center;
}

.warning-icon {
    font-size: 2rem;
    line-height: 1;
}

.warning-content {
    font-size: 0.9rem;
    color: #d1453b;
    line-height: 1.5;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.credit-card {
    aspect-ratio: 1.586;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 1.5rem;
    color: white;
    position: relative;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

    .credit-card:hover {
        transform: translateY(-4px);
    }

    .credit-card.visa {
        background: linear-gradient(135deg, #1434A4 0%, #2E5CE5 100%);
    }

    .credit-card.mastercard {
        background: linear-gradient(135deg, #EB001B 0%, #FF5F00 100%);
    }

    .credit-card.amex {
        background: linear-gradient(135deg, #006FCF 0%, #0099CC 100%);
    }

    .credit-card.discover {
        background: linear-gradient(135deg, #FF6000 0%, #FF8833 100%);
    }

    .credit-card.jcb {
        background: linear-gradient(135deg, #0E4C96 0%, #1E6BB8 100%);
    }

    .credit-card.dinersclub {
        background: linear-gradient(135deg, #0079BE 0%, #00A3E0 100%);
    }

.card-network-logo {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.card-chip {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.card-number {
    font-size: 1.5rem;
    font-family: "Courier New", monospace;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px #000000;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.card-details {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
}

.card-detail {
    flex: 1;
}

.detail-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
    margin-bottom: 0.25rem;
}

.detail-value {
    font-size: 0.95rem;
    font-family: "Courier New", monospace;
    font-weight: 600;
}

.card-holder {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.copy-card-btn {
    position: absolute;
    bottom: 1rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

    .copy-card-btn:hover {
        background: rgba(255, 255, 255, 0.3);
    }

.card-data-section {
    background: #f5f5f7;
    padding: 1rem;
    border-radius: 8px;
}

.card-data-box {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    border: 1px solid #d2d2d7;
}

.data-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #000000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.data-row:last-child {
        border-bottom: none;
    }

.data-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1d1d1f;
    color: rgba(29, 29, 31, 0.6);
}

.data-value {
    font-size: 0.9rem;
    color: #1d1d1f;
    font-family: "Courier New", monospace;
}

    .data-value.selectable {
        user-select: all;
    }

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

.scenario-card {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #d2d2d7;
    text-align: center;
}

.scenario-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.scenario-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 0.25rem;
}

.scenario-desc {
    font-size: 0.75rem;
    color: rgba(29, 29, 31, 0.6);
    font-family: "Courier New", monospace;
}

.testing-scenarios, .resources-section {
    background: rgba(74, 144, 226, 0.05);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 8px;
    padding: 1rem;
}

.resource-links {
    display: grid;
    gap: 0.75rem;
}

.resource-item {
    background: #ffffff;
    background: rgba(255, 255, 255, 0.7);
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #1d1d1f;
    color: rgba(29, 29, 31, 0.8);
}

.resource-item strong {
        color: #4A90E2;
    }

.copy-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #34c759;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-state {
    text-align: center;
    padding: 3rem;
    color: rgba(29, 29, 31, 0.6);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #4a90e2;
    border: 4px solid rgba(74, 144, 226, 0.1);
    border-top-color: #4A90E2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.stats-bar {
    display: flex;
    gap: 2rem;
    padding: 1rem;
    background: #f5f5f7;
    border-radius: 8px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(29, 29, 31, 0.6);
    font-weight: 600;
}

.stat-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #4A90E2;
    font-family: "Courier New", monospace;
}

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

.timezone-card {
    background: white;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.2s;
}

    .timezone-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        border-color: #4A90E2;
    }

.tz-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.tz-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1d1d1f;
    flex: 1;
}

.tz-offset {
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: "Courier New", monospace;
}

    .tz-offset.positive {
        background: rgba(52, 199, 89, 0.1);
        color: #248a3d;
    }

    .tz-offset.negative {
        background: rgba(255, 149, 0, 0.1);
        color: #c07600;
    }

    .tz-offset.zero {
        background: rgba(74, 144, 226, 0.1);
        color: #4A90E2;
    }

.tz-details {
    font-size: 0.85rem;
}

.tz-detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.detail-label {
    color: rgba(29, 29, 31, 0.6);
    font-weight: 600;
}

.detail-value {
    color: #1d1d1f;
    font-family: "Courier New", monospace;
}

.tz-badge {
    margin-top: 0.5rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dst-badge {
    background: rgba(255, 149, 0, 0.1);
    color: #c07600;
    border: 1px solid rgba(255, 149, 0, 0.3);
}

.show-more-notice {
    text-align: center;
    padding: 1rem;
    margin-top: 1rem;
    background: rgba(74, 144, 226, 0.05);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 8px;
    font-size: 0.85rem;
    color: rgba(29, 29, 31, 0.7);
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: rgba(29, 29, 31, 0.6);
    font-size: 1rem;
}

.options-grid {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.slug-box {
    background: #1d1d1f;
    padding: 1rem;
    border-radius: 8px;
}

    .slug-box code {
        color: #30d158;
        font-family: "SF Mono", "Cascadia Code", monospace;
        font-size: 1rem;
        font-weight: 600;
        word-break: break-all;
    }

.preview-section {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #d2d2d7;
}

.url-preview {
    font-family: "SF Mono", "Cascadia Code", monospace;
    font-size: 0.9rem;
    word-break: break-all;
}

.url-domain {
    color: rgba(29, 29, 31, 0.5);
}

.url-slug {
    color: #4A90E2;
    font-weight: 600;
}

.stats-section {
    display: flex;
    gap: 2rem;
    padding: 1rem;
    background: rgba(74, 144, 226, 0.05);
    border-radius: 8px;
}

.stat-value.excellent {
    color: #1f6f43;
}

.stat-value.good {
    color: #4A90E2;
}

.stat-value.warning {
    color: #cc7a00;
}

.tips-section {
    background: rgba(74, 144, 226, 0.05);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.tips-list {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.85rem;
    color: rgba(29, 29, 31, 0.8);
    line-height: 1.8;
}

    .tips-list li {
        margin-bottom: 0.25rem;
    }

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

.copy-button-small, .test-button-small {
    background: transparent;
    border: 1px solid #4A90E2;
    color: #4A90E2;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

    .copy-button-small:hover, .test-button-small:hover {
        background: #4A90E2;
        color: white;
    }

.url-box {
    background: #1d1d1f;
    padding: 1rem;
    border-radius: 8px;
    word-break: break-all;
}

    .url-box code {
        color: #30d158;
        font-family: "SF Mono", "Cascadia Code", monospace;
        font-size: 0.85rem;
        word-break: break-all;
    }

.parameters-section {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #d2d2d7;
}

.parameters-grid {
    display: grid;
    gap: 0.5rem;
}

.parameter-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0.75rem;
    background: #f5f5f7;
    border-radius: 6px;
}

.param-name {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(29, 29, 31, 0.5);
    min-width: 120px;
}

.param-value {
    font-family: "SF Mono", "Cascadia Code", monospace;
    font-size: 0.85rem;
    color: #4A90E2;
    font-weight: 600;
    word-break: break-all;
}

.common-conversions {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #d2d2d7;
    text-align: left;
}

.conversions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (max-width: 576px) {
    .conversions-grid {
        grid-template-columns: 1fr;
    }
}

.conversion-card {
    background: #f5f5f7;
    padding: 0.75rem;
    border-radius: 6px;
    text-align: center;
}

.conversion-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #4A90E2;
    margin-bottom: 0.25rem;
}

.conversion-unit {
    font-size: 0.75rem;
    color: rgba(29, 29, 31, 0.6);
    text-transform: uppercase;
    font-weight: 600;
}

.stats-badges {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.badge {
    display: inline-block;
    background: rgba(74, 144, 226, 0.1);
    color: #4A90E2;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
}
