@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

/* ── Message Form ── */
.hc-messages-form-wrap {
    background: linear-gradient(135deg, #0d0d0d 0%, #1a0a15 100%);
    border: 1px solid rgba(255,0,85,0.12);
    border-radius: 24px;
    overflow: hidden;
    font-family: 'Outfit', sans-serif;
}
.hc-msg-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px 32px;
    background: linear-gradient(90deg, rgba(255,0,85,0.08) 0%, transparent 100%);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.hc-msg-icon { font-size: 36px; }
.hc-msg-title {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 4px;
    letter-spacing: 0.5px;
}
.hc-msg-subtitle { font-size: 13px; color: #666; margin: 0; }
.hc-msg-body { padding: 28px 32px; }
.hc-msg-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hc-msg-field { margin-bottom: 18px; }
.hc-msg-field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #555;
    margin-bottom: 8px;
}
.hc-msg-input, .hc-msg-textarea {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 14px 18px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    resize: none;
}
.hc-msg-input:focus, .hc-msg-textarea:focus {
    outline: none;
    border-color: rgba(255,0,85,0.4);
    background: rgba(255,0,85,0.05);
    box-shadow: 0 0 20px rgba(255,0,85,0.08);
}
.hc-msg-send {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #ff0055 0%, #cc0044 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(255,0,85,0.3);
}
.hc-msg-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255,0,85,0.45);
}
.hc-msg-feedback {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}
.hc-msg-feedback.success {
    background: rgba(46,204,113,0.1);
    border: 1px solid rgba(46,204,113,0.3);
    color: #2ecc71;
}
.hc-msg-feedback.error {
    background: rgba(255,0,85,0.1);
    border: 1px solid rgba(255,0,85,0.3);
    color: #ff4488;
}

/* ── Inbox ── */
.hc-inbox-wrap {
    background: #0a0a0a;
    border-radius: 24px;
    overflow: hidden;
    font-family: 'Outfit', sans-serif;
    border: 1px solid rgba(255,255,255,0.05);
}
.hc-inbox-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 32px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: linear-gradient(90deg, rgba(255,0,85,0.06) 0%, transparent 100%);
}
.hc-inbox-title { font-size: 24px; font-weight: 800; color: #fff; margin: 0; }
.hc-inbox-count {
    background: rgba(255,0,85,0.15);
    color: #ff0055;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}
.hc-inbox-empty {
    text-align: center;
    padding: 80px 40px;
    color: #555;
}
.hc-inbox-empty-icon { font-size: 60px; margin-bottom: 20px; }
.hc-inbox-list { }
.hc-inbox-item {
    padding: 24px 32px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.2s ease;
}
.hc-inbox-item:hover { background: rgba(255,255,255,0.02); }
.hc-inbox-item.unread { border-left: 3px solid #ff0055; }
.hc-inbox-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.hc-inbox-sender { display: flex; align-items: center; gap: 12px; }
.hc-inbox-avatar {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, #ff0055, #cc0044);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}
.hc-inbox-sender strong { display: block; color: #fff; font-size: 15px; }
.hc-inbox-email { color: #555; font-size: 12px; }
.hc-inbox-date { color: #444; font-size: 12px; }
.hc-inbox-model-tag {
    font-size: 12px;
    color: rgba(255,0,85,0.7);
    margin-bottom: 10px;
    font-weight: 600;
}
.hc-inbox-msg { color: #aaa; font-size: 14px; line-height: 1.6; margin: 0 0 16px; }
.hc-inbox-reply {
    background: rgba(255,255,255,0.03);
    border-left: 2px solid rgba(255,0,85,0.4);
    border-radius: 0 10px 10px 0;
    padding: 12px 16px;
}
.hc-inbox-reply-label { font-size: 11px; color: #ff0055; font-weight: 700; text-transform: uppercase; display: block; margin-bottom: 6px; }
.hc-inbox-reply-form { margin-top: 12px; display: flex; gap: 10px; align-items: flex-end; }
.hc-reply-input {
    flex: 1;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 10px 14px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    resize: none;
}
.hc-reply-send {
    padding: 10px 20px;
    background: #ff0055;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    transition: all 0.3s;
}
.hc-reply-send:hover { background: #cc0044; transform: translateY(-1px); }

@media (max-width: 600px) {
    .hc-msg-2col { grid-template-columns: 1fr; }
    .hc-msg-body, .hc-msg-header { padding: 20px; }
    .hc-inbox-item { padding: 20px; }
    .hc-inbox-reply-form { flex-direction: column; }
}
