
/* === UI V4: Mobile-App Minimalist for Grasindo === */

.sugf-wrap {
    max-width: 420px;
    margin: 2.5rem auto;
    padding: 0 1rem 3rem;
    box-sizing: border-box;
}

/* Background like mobile app body */
.sugf-wrap::before {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg,#fafafa,#f1f1f1);
    z-index: -1;
}

.sugf-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 1.6rem 1.5rem 1.7rem;
    box-shadow: 0 14px 40px rgba(0,0,0,0.10);
    border: 1px solid #f2f2f2;
    position: relative;
    overflow: hidden;
}

/* Slim accent bar top */
.sugf-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 25%;
    width: 50%;
    height: 4px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg,#C00000,#FFB800);
}

/* Title like app header */
.sugf-title {
    text-align: center;
    margin: 0 0 1.4rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: #111111;
    letter-spacing: 0.01em;
}

.sugf-title span {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: #666666;
}

/* Form layout */
.sugf-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.sugf-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.sugf-field label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #333333;
}

/* Inputs like iOS cards */
.sugf-field input,
.sugf-field select {
    border-radius: 999px;
    border: 1px solid #e0e0e0;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    background: #fafafa;
    outline: none;
    transition: all 0.18s ease;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
}

.sugf-field select {
    background-image: linear-gradient(45deg, transparent 50%, #999 50%), 
                      linear-gradient(135deg, #999 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 3px),
                         calc(100% - 13px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.sugf-field input:focus,
.sugf-field select:focus {
    border-color: #C00000;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(192,0,0,0.12);
}

.sugf-field small {
    font-size: 0.78rem;
    color: #888888;
    margin-left: 0.25rem;
}

/* Primary actions */
.sugf-btn,
.sugf-btn-w {
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease, opacity 0.12s ease;
}

.sugf-btn {
    margin-top: 0.6rem;
    background: linear-gradient(90deg,#C00000,#8B0000);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(192,0,0,0.28);
}

.sugf-btn-w {
    margin-top: 0.25rem;
    background: linear-gradient(90deg,#25D366,#128C4A);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(18,140,74,0.26);
}

.sugf-btn:hover,
.sugf-btn-w:hover {
    opacity: 0.96;
    transform: translateY(-1px);
}

.sugf-btn:active,
.sugf-btn-w:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Result panel */
.sugf-result {
    margin-top: 1.05rem;
    padding: 1rem 1.05rem;
    border-radius: 18px;
    background: #FFFBED;
    border: 1px solid #FFE29C;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #444444;
}

.sugf-result p {
    margin: 0.12rem 0;
}

.sugf-result strong {
    display: inline-block;
    margin-top: 0.25rem;
    color: #C00000;
    font-size: 1.02rem;
}

/* Note */
.sugf-note {
    margin-top: 0.85rem;
    font-size: 0.78rem;
    color: #888888;
    text-align: center;
}

/* Mobile adjustment */
@media (max-width: 480px) {
    .sugf-card {
        padding: 1.4rem 1.2rem 1.5rem;
        border-radius: 22px;
    }
    .sugf-title {
        font-size: 1.28rem;
    }
}
