/* Paraphrase Pro Styles - Mimicking the React Design */
#paraphrase-pro-app {
    font-family: 'Inter', sans-serif;
    max-width: 1000px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.pp-container {
    display: flex;
    flex-direction: column;
}

.pp-header {
    padding: 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.pp-header h2 {
    margin: 0;
    font-size: 24px;
    color: #0f172a;
}

.pp-highlight {
    color: #0284c7; /* Primary Blue */
}

.pp-modes {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.pp-mode-btn {
    background: transparent;
    border: 1px solid transparent;
    padding: 8px 16px;
    border-radius: 6px;
    color: #64748b;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.pp-mode-btn:hover {
    color: #0f172a;
    background: #f1f5f9;
}

.pp-mode-btn.active {
    background: #ffffff;
    color: #0284c7;
    border-color: #e2e8f0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.pp-editor-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
}

@media (max-width: 768px) {
    .pp-editor-wrapper {
        grid-template-columns: 1fr;
    }
}

.pp-input-section, .pp-output-section {
    padding: 25px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pp-input-section {
    border-right: 1px solid #e2e8f0;
}

.pp-output-section {
    background: #f8fafc80; /* Slight tint */
}

.pp-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.pp-label-row label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    color: #64748b;
}

.pp-text-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 12px;
    cursor: pointer;
}

.pp-text-btn:hover {
    color: #ef4444;
}

#pp-input-text {
    flex: 1;
    width: 100%;
    border: none;
    outline: none;
    font-size: 18px;
    line-height: 1.6;
    resize: none;
    font-family: 'Georgia', serif; /* Match Libre Baskerville vibe */
    color: #334155;
    background: transparent;
}

#pp-input-text::placeholder {
    color: #cbd5e1;
}

.pp-action-row {
    margin-top: 20px;
}

.pp-primary-btn {
    background: #0284c7;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pp-primary-btn:hover {
    background: #0369a1;
}

.pp-primary-btn:active {
    transform: scale(0.98);
}

.pp-primary-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.pp-output-display {
    flex: 1;
    font-size: 18px;
    line-height: 1.6;
    font-family: 'Georgia', serif;
    color: #334155;
    white-space: pre-wrap;
}

.pp-placeholder {
    color: #cbd5e1;
    font-style: italic;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.pp-icon-btn {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    padding: 4px 8px;
    font-size: 16px;
}

.pp-icon-btn:hover {
    background: #e2e8f0;
}

.pp-status-msg {
    margin-top: 15px;
    text-align: right;
    font-size: 12px;
    color: #10b981;
}
