/

Nama coding: Gaya Tampilan Modern (assets/style.css)

Deskripsi: Desain kustom elegan, premium, berkelas tech 2026, ramah seluler, dengan bayangan ambient, tata letak dashboard modern, dan popup modal responsif.

Desain & coding : Bangfad & Laras

File: best-contact/assets/style.css
*/

/* ==========================================
FRONTEND FORM STYLES (Clean Tech 2026)
========================================== */
.bc-form-container {
background: #ffffff;
border-radius: 16px;
box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
padding: 36px;
max-width: 800px;
margin: 30px auto;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
border: 1px solid rgba(15, 23, 42, 0.06);
}

.bc-form-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 24px;
}

@media (max-width: 600px) {
.bc-form-grid {
grid-template-columns: 1fr;
gap: 0;
}
}

.bc-form-group {
margin-bottom: 24px;
}

.bc-form-group label {
display: block;
font-weight: 600;
margin-bottom: 10px;
color: #1e293b;
font-size: 13.5px;
letter-spacing: -0.01em;
}

.bc-form-group input[type="text"],
.bc-form-group input[type="email"],
.bc-form-group input[type="tel"],
.bc-form-group input[type="number"],
.bc-form-group textarea {
width: 100% !important;
padding: 14px 18px !important;
border: 1px solid #e2e8f0 !important;
border-radius: 12px !important;
font-size: 15px !important;
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
box-sizing: border-box !important;
background: #f8fafc !important;
color: #0f172a !important;
}

.bc-form-group input:focus,
.bc-form-group textarea:focus {
border-color: #6366f1 !important;
background: #ffffff !important;
outline: none !important;
box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12) !important;
}

.bc-form-group small {
display: block;
color: #64748b;
margin-top: 6px;
font-size: 11px;
}

/* Captcha styling */
.bc-captcha-wrapper {
display: flex;
align-items: center;
gap: 16px;
background: #f1f5f9;
padding: 12px 18px;
border-radius: 12px;
border: 1px dashed #cbd5e1;
flex-wrap: wrap;
}

.bc-captcha-question {
font-weight: 700;
color: #334155;
font-size: 14px;
}

.bc-captcha-wrapper input {
max-width: 120px !important;
background: #ffffff !important;
}

/* Submit Button & Spinner */
.bc-form-submit {
display: flex;
align-items: center;
gap: 16px;
margin-top: 12px;
}

#bc-submit-btn {
background: #4f46e5;
color: #ffffff;
border: none;
border-radius: 12px;
padding: 14px 32px;
font-size: 15px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

#bc-submit-btn:hover {
background: #4338ca;
transform: translateY(-1px);
box-shadow: 0 6px 16px rgba(79, 70, 229, 0.3);
}

#bc-submit-btn:active {
transform: translateY(1px);
}

.bc-loading-spinner {
color: #64748b;
font-size: 13.5px;
font-weight: 500;
}

.bc-response-message {
margin-top: 24px;
padding: 16px 20px;
border-radius: 12px;
font-size: 14px;
font-weight: 600;
}

.bc-response-message.success {
background-color: #f0fdf4;
color: #166534;
border-left: 4px solid #16a34a;
}

.bc-response-message.error {
background-color: #fef2f2;
color: #991b1b;
border-left: 4px solid #dc2626;
}

/* ==========================================
WP DASHBOARD ADMIN STYLES (Slate Tech 2026)
========================================== */
.bc-admin-wrap {
margin: 24px 24px 0 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bc-admin-header {
background: #ffffff;
padding: 28px;
border-radius: 16px;
box-shadow: 0 10px 25px rgba(15, 23, 42, 0.03);
margin-bottom: 24px;
border: 1px solid rgba(15, 23, 42, 0.05);
}

.bc-title {
margin: 0 !important;
font-weight: 800 !important;
color: #0f172a;
display: flex;
align-items: center;
gap: 12px;
font-size: 26px !important;
}

.bc-badge {
background: #4f46e5;
color: #fff;
font-size: 11px;
padding: 3px 10px;
border-radius: 20px;
font-weight: 700;
}

.bc-subtitle {
margin: 8px 0 0 0;
color: #475569;
font-size: 14px;
}

/* Custom Nav Tab WP */
.bc-nav-tab-wrapper {
margin-bottom: 24px !important;
border-bottom: 2px solid #e2e8f0;
padding-bottom: 0 !important;
}

.bc-nav-tab-wrapper .nav-tab {
font-size: 14.5px !important;
font-weight: 700 !important;
padding: 10px 20px !important;
border-radius: 8px 8px 0 0 !important;
margin-bottom: -2px !important;
border: none !important;
background: transparent !important;
color: #64748b !important;
transition: all 0.2s ease;
}

.bc-nav-tab-wrapper .nav-tab-active {
background: #ffffff !important;
border-bottom: 3px solid #4f46e5 !important;
color: #0f172a !important;
}

/* Tab contents and cards */
.bc-tab-content {
display: none;
}

.bc-tab-content.active {
display: block;
}

.bc-card {
background: #ffffff;
border-radius: 16px;
box-shadow: 0 10px 25px rgba(15, 23, 42, 0.03);
padding: 28px;
margin-bottom: 24px;
border: 1px solid rgba(15, 23, 42, 0.05);
}

.bc-card h3 {
margin-top: 0;
font-size: 18px;
font-weight: 700;
border-bottom: 1px solid #f1f5f9;
padding-bottom: 16px;
color: #0f172a;
}

.bc-table-responsive {
overflow-x: auto;
}

.bc-table th {
font-weight: 700 !important;
background: #f8fafc !important;
color: #1e293b;
padding: 14px 16px !important;
font-size: 13px !important;
text-transform: uppercase;
letter-spacing: 0.03em;
}

.bc-table td {
padding: 16px !important;
vertical-align: middle !important;
}

.bc-icon {
font-size: 16px !important;
width: 16px !important;
height: 16px !important;
color: #64748b;
vertical-align: text-top;
margin-right: 6px;
}

.bc-text-muted {
color: #64748b;
font-size: 11px;
}

.bc-message-cell {
max-height: 100px;
overflow-y: auto;
font-size: 13.5px;
line-height: 1.5;
color: #334155;
padding-right: 8px;
}

/* Badges Status */
.bc-status-badge {
display: inline-block;
padding: 4px 12px;
border-radius: 20px;
font-size: 11px;
font-weight: 700;
}

.bc-status-unread {
background-color: #fef3c7;
color: #92400e;
}

.bc-status-replied {
background-color: #dcfce7;
color: #166534;
}

/* Config grid */
.bc-grid-config {
display: grid;
grid-template-columns: 1.2fr 1fr;
gap: 24px;
}

@media (max-width: 900px) {
.bc-grid-config {
grid-template-columns: 1fr;
}
}

/* Toggle Master Controls */
.text-center {
text-align: center;
}

.bc-status-master-container {
background: #f8fafc;
padding: 24px;
border-radius: 12px;
margin: 20px 0;
border: 1px solid #e2e8f0;
}

.bc-indicator-badge {
font-size: 14px;
font-weight: 800;
padding: 14px;
border-radius: 10px;
margin-bottom: 20px;
letter-spacing: 0.02em;
}

.bc-indicator-badge.active {
background-color: #dcfce7;
color: #166534;
border: 1px solid #22c55e;
}

.bc-indicator-badge.inactive {
background-color: #fee2e2;
color: #991b1b;
border: 1px solid #ef4444;
}

.bc-btn-master-group {
display: flex;
justify-content: center;
gap: 16px;
}

.bc-btn-success {
background: #10b981 !important;
border-color: #10b981 !important;
color: white !important;
font-weight: 700 !important;
}

.bc-btn-success:hover {
background: #059669 !important;
}

.bc-btn-success:disabled {
background: #cbd5e1 !important;
border-color: #cbd5e1 !important;
color: #94a3b8 !important;
}

.bc-btn-danger {
background: #ef4444 !important;
border-color: #ef4444 !important;
color: white !important;
font-weight: 700 !important;
}

.bc-btn-danger:hover {
background: #dc2626 !important;
}

.bc-btn-danger:disabled {
background: #cbd5e1 !important;
border-color: #cbd5e1 !important;
color: #94a3b8 !important;
}

/* Tombol Hapus Pesan Kustom */
.bc-btn-delete-trigger {
background: #fee2e2 !important;
border-color: #fecaca !important;
color: #b91c1c !important;
font-weight: 600 !important;
transition: all 0.2s ease !important;
}

.bc-btn-delete-trigger:hover {
background: #fca5a5 !important;
border-color: #f87171 !important;
color: #991b1b !important;
}

.bc-webhook-info-box {
background: #f1f5f9;
padding: 18px;
border-radius: 12px;
text-align: left;
margin-top: 20px;
}

.bc-webhook-info-box code {
display: block;
background: #cbd5e1;
padding: 10px;
border-radius: 8px;
font-size: 11.5px;
word-break: break-all;
user-select: all;
color: #0f172a;
font-weight: 600;
margin-top: 8px;
}

/* ==========================================
POPUP MODAL COMPONENT (REPLY & DELETE)
========================================== */
.bc-modal {
display: none;
position: fixed;
z-index: 999999;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(15, 23, 42, 0.4);
backdrop-filter: blur(8px);
transition: opacity 0.3s ease;
}

.bc-modal-content {
background-color: #ffffff;
margin: 8% auto;
padding: 28px;
border: none;
border-radius: 16px;
width: 90%;
max-width: 550px;
box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
position: relative;
animation: bcSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes bcSlideDown {
from { transform: translateY(-20px); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}

.bc-modal-close {
color: #94a3b8;
position: absolute;
right: 24px;
top: 20px;
font-size: 28px;
font-weight: bold;
cursor: pointer;
transition: color 0.2s;
}

.bc-modal-close:hover {
color: #1e293b;
}

.bc-modal-title {
margin-top: 0;
font-size: 20px;
font-weight: 800;
color: #4f46e5;
border-bottom: 1px solid #f1f5f9;
padding-bottom: 14px;
}

.bc-modal-recipient-info {
background: #f8fafc;
padding: 14px 18px;
border-radius: 12px;
margin-bottom: 24px;
border-left: 4px solid #4f46e5;
}

.bc-modal-recipient-info p {
margin: 6px 0 !important;
font-size: 13.5px;
color: #334155;
}

.bc-badge-method {
background: #e2e8f0;
color: #334155;
padding: 3px 10px;
border-radius: 20px;
font-size: 11px;
font-weight: 700;
}

.bc-btn-cancel {
background: #f1f5f9 !important;
border-color: #e2e8f0 !important;
color: #475569 !important;
font-weight: 600 !important;
}

.bc-btn-cancel:hover {
background: #e2e8f0 !important;
}

.bc-modal-footer {
display: flex;
justify-content: flex-end;
gap: 12px;
border-top: 1px solid #f1f5f9;
padding-top: 20px;
margin-top: 20px;
}