/* Input Interface and Form Controls Styles */

/* Status Feedback Section */
.status-section {
    margin-bottom: 0;
}

#inputView {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

#inputView .status-section {
    flex: 0 0 auto;
}

.status-message {
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
    margin-top: 0.5rem;
    padding: 8px;
    background: rgba(26, 26, 26, 0.6);
    border-radius: 6px;
    display: none;
}

.status-message.show {
    display: block;
}

.status-message.success {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.status-message.tip {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.22);
}

#inputView #textInput {
    width: 100%;
    min-height: 180px;
    height: clamp(180px, 32vh, 360px);
    max-height: clamp(180px, 32vh, 360px);
    padding: 0;
    border: none;
    border-radius: 0;
    font-family: inherit;
    font-weight: 400;
    font-size: var(--input-text-font-size);
    line-height: 1.55;
    letter-spacing: 0.01em;
    color: var(--input-text-color);
    background: transparent;
    resize: none;
    overflow-y: auto;
    opacity: 1.0;
    transition: opacity 0.3s ease, color 0.3s ease;
}

#inputView #textInput::placeholder {
    color: var(--input-placeholder-color);
    opacity: 1.0;
}

#inputView #textInput:focus {
    outline: none;
    opacity: 1.0;
}

.char-counter {
    position: absolute;
    bottom: 10px;
    right: 14px;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.01em;
    opacity: 0;
    transition: opacity 0.3s ease, color 0.3s ease;
    pointer-events: none;
    padding: 0;
    background: transparent;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.52);
}

.char-counter.show {
    opacity: 0.85;
}

.char-counter.warning {
    color: rgba(255, 120, 120, 0.9);
}

.char-counter.danger {
    color: #f87171;
}

