/* ============================================================
 * TESTIMONI — FORM PUBLIK
 * Path: public/assets/css/testimoni-kirim.css
 * ============================================================ */

/* ----------------------------------------
 * HERO
 * ---------------------------------------- */
.testi-hero {
    position: relative;
    padding: 130px 20px 60px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    overflow: hidden;
}

.testi-hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.25;
    pointer-events: none;
}

.testi-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.testi-hero-orb-1 {
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: #f59e0b;
}

.testi-hero-orb-2 {
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: #2563eb;
}

.testi-hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.testi-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.testi-breadcrumb a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.testi-breadcrumb a:hover {
    color: #f59e0b;
}

.testi-breadcrumb i {
    font-size: 10px;
}

.testi-breadcrumb span {
    color: #f59e0b;
    font-weight: 600;
}

.testi-hero-title {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1.15;
    margin-bottom: 12px;
}

.testi-hero-accent {
    color: #f59e0b;
}

.testi-hero-subtitle {
    font-size: 16px;
    color: #cbd5e1;
    max-width: 640px;
    line-height: 1.6;
}

/* ----------------------------------------
 * MAIN
 * ---------------------------------------- */
.testi-main {
    flex: 1;
    background: #f8fafc;
    padding: 60px 20px;
}

.testi-container {
    max-width: 800px;
    margin: 0 auto;
}

.testi-container-narrow {
    max-width: 640px;
}

/* ----------------------------------------
 * ALERT
 * ---------------------------------------- */
.testi-alert {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
}

.testi-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.testi-alert-error ul {
    margin: 6px 0 0;
    padding-left: 20px;
}

.testi-alert-error i {
    font-size: 20px;
    flex-shrink: 0;
}

/* ----------------------------------------
 * FORM CARD
 * ---------------------------------------- */
.testi-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.testi-form-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
}

.testi-form-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #f59e0b;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.testi-form-title {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.testi-form-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* ----------------------------------------
 * FORM
 * ---------------------------------------- */
.testi-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testi-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.testi-label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.testi-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    color: #1e293b;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.2s;
    outline: none;
    font-family: inherit;
}

.testi-input:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.testi-input::placeholder {
    color: #94a3b8;
}

.testi-textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.testi-help {
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}

.testi-help i {
    color: #3b82f6;
}

/* ----------------------------------------
 * RATING INPUT
 * ---------------------------------------- */
.testi-rating-input {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.testi-rating-star {
    cursor: pointer;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.testi-rating-star input[type="radio"] {
    display: none;
}

.testi-rating-star i {
    font-size: 32px;
    color: #cbd5e1;
    transition: all 0.15s;
}

.testi-rating-star:hover i,
.testi-rating-star.active i {
    color: #f59e0b;
    transform: scale(1.1);
}

.testi-rating-value {
    margin-left: auto;
    font-size: 14px;
    font-weight: 700;
    color: #f59e0b;
}

/* ----------------------------------------
 * HONEYPOT (Hidden from user)
 * ---------------------------------------- */
.testi-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ----------------------------------------
 * FORM ACTIONS
 * ---------------------------------------- */
.testi-form-actions {
    display: flex;
    gap: 12px;
    padding-top: 8px;
}

.testi-btn-submit {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.testi-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.testi-btn-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    background: #f1f5f9;
    color: #475569;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.testi-btn-cancel:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.testi-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

.testi-note i {
    font-size: 16px;
}

/* ----------------------------------------
 * SUCCESS PAGE
 * ---------------------------------------- */
.testi-success-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    text-align: center;
}

.testi-success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #059669;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.2);
}

.testi-success-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.testi-success-text {
    font-size: 15px;
    color: #64748b;
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto 12px;
}

.testi-success-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.testi-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.testi-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    color: #ffffff;
}

.testi-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #f1f5f9;
    color: #475569;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.testi-btn-secondary:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* ----------------------------------------
 * RESPONSIVE
 * ---------------------------------------- */
@media (max-width: 767.98px) {
    .testi-hero {
        padding: 110px 16px 40px;
    }

    .testi-hero-title {
        font-size: 28px;
    }

    .testi-hero-subtitle {
        font-size: 14px;
    }

    .testi-main {
        padding: 40px 16px;
    }

    .testi-form-card {
        padding: 24px 20px;
    }

    .testi-form-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }

    .testi-form-title {
        font-size: 20px;
    }

    .testi-rating-star i {
        font-size: 28px;
    }

    .testi-form-actions {
        flex-direction: column;
    }

    .testi-btn-submit,
    .testi-btn-cancel {
        width: 100%;
    }

    .testi-success-card {
        padding: 40px 24px;
    }

    .testi-success-icon {
        width: 80px;
        height: 80px;
        font-size: 40px;
    }

    .testi-success-title {
        font-size: 26px;
    }

    .testi-success-actions {
        flex-direction: column;
    }

    .testi-btn-primary,
    .testi-btn-secondary {
        width: 100%;
        justify-content: center;
    }
}