/* ---------------------------------------------------------------
   Frontend: [clipon_contact] Shortcode
---------------------------------------------------------------- */
.cc-wrap {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto 60px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 48px rgba(0,0,0,0.10);
    font-family: inherit;
}

/* Left info panel */
.cc-info {
    background: #1a3a5c;
    color: #fff;
    padding: 44px 36px;
    display: flex;
    flex-direction: column;
}
.cc-info-title { font-size: 22px; font-weight: 700; margin: 0 0 28px; color: #fff; }
.cc-info-items { display: flex; flex-direction: column; gap: 18px; flex: 1; }
.cc-info-item { display: flex; align-items: flex-start; gap: 12px; }
.cc-info-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.cc-info-item strong { font-size: 14px; color: #fff; display: block; margin-bottom: 2px; }
.cc-info-item p { font-size: 12px; color: rgba(255,255,255,0.65); margin: 0; line-height: 1.5; }
.cc-contact-direct { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.15); }
.cc-direct-link { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 13px; }
.cc-direct-link:hover { color: #fff; }

/* Right form panel */
.cc-form-panel { background: #fff; padding: 44px 40px; position: relative; }
.cc-field { margin-bottom: 20px; }
.cc-field label { display: block; font-size: 13px; font-weight: 600; color: #444; margin-bottom: 6px; }
.cc-req { color: #e03; }
.cc-optional { font-size: 11px; font-weight: 400; color: #aaa; }
.cc-field input[type=text],
.cc-field input[type=email],
.cc-field textarea {
    width: 100%; box-sizing: border-box;
    border: 1.5px solid #e0e0e0; border-radius: 8px;
    padding: 10px 14px; font-size: 14px; color: #222;
    background: #fafafa; outline: none; font-family: inherit;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.cc-field input:focus, .cc-field textarea:focus {
    border-color: #29aae1; background: #fff;
    box-shadow: 0 0 0 3px rgba(41,170,225,0.12);
}
.cc-field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.cc-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cc-char-count { text-align: right; font-size: 11px; color: #aaa; margin-top: 4px; }

/* Service buttons */
.cc-service-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.cc-service-btn { cursor: pointer; }
.cc-service-btn input { display: none; }
.cc-service-btn span {
    display: flex; align-items: center; justify-content: center; gap: 5px;
    padding: 9px 6px; border: 1.5px solid #e0e0e0; border-radius: 8px;
    font-size: 12px; font-weight: 600; color: #555; background: #fafafa;
    text-align: center; transition: all .15s; cursor: pointer; line-height: 1.3;
}
.cc-service-btn input:checked + span {
    border-color: #29aae1; background: #e8f7fd; color: #1a7ab5;
}
.cc-service-btn span:hover { border-color: #29aae1; background: #f0fbff; }

/* Upload */
.cc-upload-zone {
    border: 2px dashed #d0d0d0; border-radius: 8px;
    padding: 16px; text-align: center; color: #888;
    font-size: 13px; background: #fafafa; cursor: pointer;
    transition: border-color .2s, background .2s;
}
.cc-upload-zone.drag-over { border-color: #29aae1; background: #f0fbff; }
.cc-upload-icon { display: block; font-size: 22px; margin-bottom: 6px; }
.cc-upload-pick { background: none; border: none; color: #29aae1; font-weight: 600; cursor: pointer; padding: 0; font-size: 13px; text-decoration: underline; }
#cc-upload-preview { margin-top: 8px; font-size: 12px; color: #444; }

/* Submit */
.cc-submit {
    width: 100%; padding: 14px; background: #29aae1; color: #fff;
    border: none; border-radius: 8px; font-size: 15px; font-weight: 700;
    cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
    font-family: inherit; transition: background .15s;
}
.cc-submit:hover { background: #1a8dbf; }

/* Alerts */
.cc-alert { padding: 12px 16px; border-radius: 8px; font-size: 13px; }
.cc-alert-error { background: #fde8e8; color: #b91c1c; border: 1px solid #fca5a5; }

/* Success */
.cc-success-inner { text-align: center; padding: 60px 20px; }
.cc-success-icon { font-size: 56px; margin-bottom: 16px; }
.cc-success-inner h3 { font-size: 24px; margin: 0 0 10px; color: #1a3a5c; }
.cc-success-inner p { color: #666; font-size: 15px; }

/* Spinner */
@keyframes cc-spin { to { transform: rotate(360deg); } }

/* Mobile */
@media (max-width: 720px) {
    .cc-wrap { grid-template-columns: 1fr; }
    .cc-info { padding: 30px 24px; }
    .cc-form-panel { padding: 30px 24px; }
    .cc-two-col { grid-template-columns: 1fr; }
    .cc-service-grid { grid-template-columns: repeat(2,1fr); }
}
