/* Gen Z inspired light theme */
body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

h2 {
    font-weight: bold;
    color: #1f3c88;
}

textarea.form-control {
    background-color: #ffffff;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    transition: border-color 0.3s ease-in-out;
}

textarea.form-control:focus {
    border-color: #a29bfe;
    box-shadow: 0 0 0 0.2rem rgba(162, 155, 254, 0.25);
}

.card {
    border: none;
    background-color: #fdfdfd;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
}

.btn {
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.2s ease-in-out;
    margin-right: 0.5rem;
}

.btn:hover {
    transform: scale(1.05);
}

.btn-primary {
    background-color: #6c5ce7;
    border-color: #6c5ce7;
    color: #fff;
}

.btn-outline-secondary {
    border-color: #a29bfe;
    color: #6c5ce7;
}

.btn-outline-secondary:hover {
    background-color: #a29bfe;
    color: #fff;
}

.btn-success {
    background-color: #00b894;
    border-color: #00b894;
    color: #fff;
}

.modal-content {
    border-radius: 12px;
}

.editable-label {
    cursor: pointer;
    color: #0984e3;
    text-decoration: underline;
}

.conversation-box {
    min-height: 150px;
    background-color: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 10px;
    padding: 10px;
    overflow-y: auto;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.chat-section {
    margin-bottom: 1rem;
}

.chat-bubble {
    display: inline-block;
    background-color: #dfe6e9;
    border-radius: 20px;
    padding: 10px 15px;
    margin-bottom: 8px;
    max-width: 75%;
}

.chat-sender {
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 0.2rem;
    display: block;
}

.lang-tag {
    display: inline-block;
    background-color: #a29bfe;
    color: white;
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 12px;
    margin-right: 5px;
}

/* Fix for tech button alignment */
.row .col-md-6 .btn {
    width: 48%;
    margin-right: 2%;
}

.row .col-md-6 .btn:last-child {
    margin-right: 0;
}

/* Ensure label-tag styling is consistent */
.label-tag {
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 0.2rem;
    display: block;
}

.message {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px;
}

.message.tech {
    align-items: flex-end;
    text-align: right;
}

.message .bubble {
    background-color: #fceff9;
    padding: 10px 15px;
    border-radius: 20px;
    margin-bottom: 8px;
    max-width: 75%;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    color: #2d3436;
}

.message.tech .bubble {
    background-color: #e0f7fa;
    color: #004d40;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
