/* Tool-specific styles only - base styles are in tool-layout.css */

.input-section {
    background: #141414;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 32px;
}

.input-section h2 {
    margin: 0 0 24px 0;
    color: #e5e7eb;
    font-size: 22px;
    font-weight: 600;
}

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

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #e5e7eb;
    font-size: 14px;
    font-weight: 500;
}

.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    background: #141414;
    border: 1px solid #374151;
    color: #e5e7eb;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s ease;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input-group textarea {
    resize: vertical;
    min-height: 80px;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.pro-feature {
    opacity: 0.7;
}

.pro-feature select:disabled {
    background: #0a0a0a;
    color: #6b7280;
    cursor: not-allowed;
}

.pro-badge {
    position: absolute;
    top: -8px;
    right: 8px;
    color: #0a0a0a;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
}

.pro-badge-inline {
    color: #0a0a0a;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
}

.output-section {
    background: #141414;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 24px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-header h2 {
    margin: 0;
    color: #e5e7eb;
    font-size: 22px;
    font-weight: 600;
}

.view-controls {
    display: flex;
    gap: 8px;
}

.view-btn {
    background: #1a1a1a;
    border: 1px solid #374151;
    color: #e5e7eb;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-btn:hover {
    background: #374151;
}

.view-btn.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
}

.font-pairs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.font-pairs-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.font-pair-card {
    background: #0a0a0a;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.font-pair-card:hover {
    border-color: #3b82f6;
    background: #111111;
}

.font-pair-card.pro-locked {
    opacity: 0.6;
    position: relative;
}

.font-pair-card.pro-locked::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.font-pair-header {
    margin-bottom: 16px;
    color: #9ca3af;
    font-size: 13px;
    font-weight: 500;
}

.font-heading-preview {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.2;
}

.font-body-preview {
    font-size: 15px;
    color: #d1d5db;
    line-height: 1.5;
    opacity: 0.8;
}

.font-names {
    margin-top: 60px;
    padding-top: 16px;
    border-top: 1px solid #374151;
    font-size: 12px;
    color: #6b7280;
}

.pro-unlock {
    text-align: center;
    padding: 48px 32px;
    background: #0a0a0a;
    border: 2px dashed #374151;
    border-radius: 12px;
}

.pro-unlock h3 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.pro-unlock p {
    color: #9ca3af;
    font-size: 16px;
    margin-bottom: 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.btn-pro {
    color: #0a0a0a;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-pro:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.3);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #141414;
    border: 1px solid #374151;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #374151;
}

.modal-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.close-btn:hover {
    background: #374151;
    color: #ffffff;
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
}

.font-preview {
    margin-bottom: 24px;
}

.preview-heading {
    font-size: 36px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.preview-body {
    font-size: 16px;
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 16px;
}

.font-specs {
    background: #0a0a0a;
    border: 1px solid #374151;
    border-radius: 6px;
    padding: 16px;
    margin: 16px 0;
}

.font-specs h4 {
    color: #e5e7eb;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.font-specs p {
    color: #9ca3af;
    font-size: 13px;
    margin: 4px 0;
}

.modal-actions {
    display: flex;
    gap: 12px;
}

.btn-primary {
    background: #3b82f6;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    flex: 1;
}

.btn-secondary {
    background: #1a1a1a;
    border: 1px solid #374151;
    color: #e5e7eb;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    flex: 1;
}

.pro-cta-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.pro-cta-text {
    color: #e5e7eb;
    font-size: 14px;
    font-weight: 500;
}

.btn-pro-cta {
    color: #0a0a0a;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-pro-cta:hover {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .tool-content {
        padding: 16px;
    }

    .input-section,
    .output-section {
        padding: 16px;
    }

    .input-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .font-pairs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .font-heading-preview {
        font-size: 20px;
    }

    .preview-heading {
        font-size: 28px;
    }

    .modal-content {
        width: 95%;
        margin: 20px;
    }

    .pro-cta-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .bug-report-btn {
        bottom: 20px;
        left: 20px;
        right: auto;
    }

    .section-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .view-controls {
        align-self: stretch;
    }

    .view-btn {
        flex: 1;
        text-align: center;
    }
}