* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    padding: 40px 30px;
    width: 100%;
    max-width: 480px;
}

h1 {
    color: #1e293b;
    text-align: center;
    font-size: 28px;
    margin-bottom: 10px;
}

.container > p {
    text-align: center;
    color: #64748b;
    font-size: 15px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 22px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #334155;
    font-size: 14px;
}

input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s;
    background: #f8fafc;
}

input:focus {
    outline: none;
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(102,126,234,0.1);
}

button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    margin-top: 5px;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102,126,234,0.4);
}

.hasil {
    margin-top: 28px;
    padding: 24px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    border-left: 5px solid #667eea;
    display: none;
}

.hasil h3 {
    color: #1e40af;
    margin-bottom: 16px;
    font-size: 18px;
}

.hasil p {
    margin: 10px 0;
    color: #1e293b;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
}

.hasil strong {
    color: #764ba2;
    font-size: 17px;
}

.pesan {
    margin-top: 18px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    padding: 10px;
    border-radius: 8px;
}

.sukses { background: #dcfce7; color: #166534; }
.error { background: #fee2e2; color: #991b1b; }