:root {
    --green: #158f63;
    --green-soft: #e6f7ee;
    --green-dark: #0f6a48;
    --bg-teal: #3fb3a8;
    --card-bg: #ffffff;
    --muted: #6b7b8c;
    --btn-teal: #3aa79d;
}

html,
body {
    height: 100%;
}

body {
    font-family: Poppins, Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
    background: var(--bg-teal);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.card-custom {
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    padding: 28px;
    background: var(--card-bg);
    box-sizing: border-box;
}

.form-control:focus {
    box-shadow: 0 0 0 .15rem rgba(58, 167, 157, 0.15);
}

.otp-input {
    width: 56px;
    height: 60px;
    text-align: center;
    font-size: 22px;
    border-radius: 8px;
}

.otp-title {
    font-size: 22px;
    font-weight: 700;
}

.otp-sub {
    font-size: 13px;
    color: var(--muted);
}

.btn-primary {
    background-color: var(--btn-teal);
    border-color: var(--btn-teal);
}

.btn-primary:hover {
    background-color: #2f8b80;
    border-color: #2f8b80;
}

#loading {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: block;
    background: rgba(0, 0, 0, 0.18);
    pointer-events: auto;
}

#loading:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
    border-radius: 50%;
    border: 6px solid rgba(255, 255, 255, 0.25);
    border-top-color: #ffffff;
    box-sizing: border-box;
    animation: ks-spin 1s linear infinite;
}

@keyframes ks-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.testimonial-list {
    display: block
}

.testimonial-container {
    width: 100%;
    max-width: 420px;
    flex: 0 0 280px;
}

.testimonial-item {
    background: #ffffff;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 8px 20px rgba(12, 20, 30, 0.06);
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    object-fit: cover;
    flex: 0 0 56px
}

.testimonial-info {
    display: flex;
    flex-direction: column
}

.testimonial-name {
    font-weight: 600;
    font-size: 15px;
    color: #07172a
}

.testimonial-role {
    font-size: 13px;
    display: flex;
    align-items: center;
    color: #10b981
}

.testimonial-role .fa {
    font-size: 14px;
    margin-right: 6px
}

.testimonial-list {
    max-height: 280px;
    overflow: hidden;
    display: block;
    gap: 10px;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 999px;
    background: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px auto 10px;
    color: #fff;
    font-size: 40px;
}

.success-title {
    text-align: center;
    color: var(--green-dark);
    font-weight: 700;
    margin-bottom: 4px;
    font-size: 18px;
}

.success-text {
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 10px;
}

.summary-box {
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    background: #f9fafb;
    padding: 14px 14px 10px;
    margin-top: 8px;
    margin-bottom: 1rem;
}

.summary-title {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
}

.summary-row {
    font-size: 13px;
    margin-bottom: 4px;
}

.summary-label {
    font-weight: 600;
}

@media (max-width:400px) {
    .testimonial-item {
        padding: 12px
    }

    .testimonial-avatar {
        width: 48px;
        height: 48px;
        flex: 0 0 48px
    }

    .testimonial-container {
        flex: 0 0 260px
    }
}

@media (min-width:768px) {
    .container.flex-md-row .card-custom {
        flex: 0 0 420px
    }
}

.testimonial {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.testimonial .testimonial-content {
    background: #f8faf9;
    border-radius: 10px;
    padding: 18px 20px;
    max-width: 420px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    color: #0f172a
}

.testimonial h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px
}

.testimonial p {
    font-size: 13px;
    color: var(--muted);
    margin: 0
}