.chatgpt-container {
    max-width: 600px;
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.chatgpt-input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.audio-upload-section {
    background: #f0f8ff;
    border: 2px dashed #0073aa;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: background-color 0.3s ease;
    margin-bottom: 15px;
}

.audio-upload-section:hover {
    background: #e6f3ff;
}

.audio-upload-label {
    display: inline-block;
    cursor: pointer;
    font-size: 16px;
    color: #0073aa;
    font-weight: 600;
    padding: 10px;
}

.audio-icon {
    font-size: 24px;
    margin-right: 8px;
    vertical-align: middle;
}

.audio-status {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

.audio-status.success {
    color: #46b450;
    font-weight: 600;
}

.audio-status.error {
    color: #dc3232;
    font-weight: 600;
}

.input-divider {
    text-align: center;
    color: #666;
    font-size: 14px;
    font-style: italic;
    margin: 15px 0;
    position: relative;
}

.input-divider::before,
.input-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #ddd;
}

.input-divider::before {
    left: 0;
}

.input-divider::after {
    right: 0;
}

#chatgpt-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    resize: none;
    height: 240px;
    overflow-y: auto;
    line-height: 1.5;
}

#chatgpt-input:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

#chatgpt-submit {
    padding: 18px 36px;
    background: linear-gradient(135deg, #0073aa, #005a87);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    align-self: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 115, 170, 0.3);
    min-width: 200px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#chatgpt-submit:hover {
    background: linear-gradient(135deg, #005a87, #004067);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 115, 170, 0.4);
}

#chatgpt-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#chatgpt-loading {
    margin: 20px 0;
    padding: 15px;
    background-color: #e7f3ff;
    border-left: 4px solid #0073aa;
    border-radius: 4px;
}

#chatgpt-loading p {
    margin: 0;
    color: #0073aa;
    font-style: italic;
}

#transcribe-loading {
    margin: 20px 0;
    padding: 15px;
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
}

#transcribe-loading p {
    margin: 0;
    color: #856404;
    font-style: italic;
}

#chatgpt-response {
    margin-top: 20px;
    padding: 15px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-height: 50px;
    white-space: pre-wrap;
    line-height: 1.6;
}

#chatgpt-response.success {
    border-left: 4px solid #46b450;
}

#chatgpt-response.error {
    border-left: 4px solid #dc3232;
    background-color: #ffeaea;
    color: #dc3232;
}

@media (max-width: 768px) {
    .chatgpt-container {
        padding: 15px;
    }
    
    #chatgpt-input {
        font-size: 16px;
        height: 200px;
    }
    
    #chatgpt-submit {
        width: 100%;
        min-width: auto;
    }
}