
:root{
    --primary:#0b3c5d;
    --secondary:#1f6fe5;
    --bg:#f4f6f9;
}

*{box-sizing:border-box}

body{
    margin:0;
    background:var(--bg);
    font-family:'Segoe UI',system-ui,sans-serif;
    padding:40px 16px;
}

.form-card{
    max-width:720px;
    margin:auto;
    background:#fff;
    padding:32px;
    border-radius:18px;
    box-shadow:0 20px 45px rgba(0,0,0,.12);
}

h2{
    margin-top:0;
    color:var(--primary);
}

p{
    color:#555;
    line-height:1.6;
}

label{
    display:block;
    margin-top:22px;
    font-weight:600;
    color:#333;
}


select, textarea, input{
    width:100%;
    height:52px;
    padding:12px 14px;
    border-radius:12px;
    border:1px solid #ccd4e0;
    font-size:14px;
    margin-top:6px;
    background:#fff;
}

textarea{
    height:110px;
    resize:vertical;
}

select:focus,
textarea:focus{
    outline:none;
    border-color:var(--secondary);
    box-shadow:0 0 0 3px rgba(31,111,229,.15);
}


.star-rating{
    display:flex;
    gap:10px;
    margin-top:10px;
}

.star-rating input{
    display:none;
}

.star-rating label{
    font-size:32px;
    color:#d0d7e2;
    cursor:pointer;
    transition:.2s;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label{
    color:#ffc107;
}

.star-rating{
 
    justify-content:flex-start;
}


button{
    margin-top:28px;
    width:100%;
    height:54px;
    border:none;
    border-radius:14px;
    background:linear-gradient(135deg,var(--primary),var(--secondary));
    color:#fff;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    transition:.25s;
}

button:hover{
    transform:translateY(-2px);
    box-shadow:0 14px 30px rgba(31,111,229,.4);
}


.success{
    background:#e7f6ec;
    color:#0f9d58;
    padding:14px;
    border-radius:12px;
    margin-bottom:18px;
}

.error{
    background:#fdecea;
    color:#b71c1c;
    padding:14px;
    border-radius:12px;
    margin-bottom:18px;
}

@media(max-width:480px){
    .form-card{padding:26px}
}
.form-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 26px;
}


.btn {
    all: unset;                
    box-sizing: border-box;

    height: 48px;             
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .3px;

    cursor: pointer;
    transition: all .25s ease;
}


.btn-submit {
    background: linear-gradient(135deg, #0b3c5d, #1f6fe5);
    color: #fff;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(31,111,229,.45);
}


.btn-reset {
    background: #f59e0b;   /* oren */
    color: #fff;
}

.btn-reset:hover {
    background: #d97706;
    transform: translateY(-2px);
}


.btn-back {
    background: #64748b;   /* kelabu gelap */
    color: #fff;
}

.btn-back:hover {
    background: #475569;
    transform: translateY(-2px);
}


@media (max-width: 640px) {
    .form-actions {
        grid-template-columns: 1fr;
    }
}
