/* Reset & Basic Setup */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f8f9fa;
    color: #202124;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    min-height: 100vh;
}

/* Layout Utama */
.main-wrapper {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Header */
.app-header { text-align: center; }
.app-header h1 {
    font-size: 36px;    /* Ukuran diperbesar dari 28px jadi 36px */
    font-weight: 700;   /* Ketebalan ditambah jadi Bold murni (700) */
    margin-bottom: 8px;
    color: #1a73e8;
    letter-spacing: -0.5px; /* Opsional: Biar hurufnya agak rapat, terlihat lebih modern */
}
.app-header p { font-size: 14px; color: #5f6368; }

/* Converter Card */
.converter-card {
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.input-group { display: flex; flex-direction: column; gap: 8px; }
.number-input {
    width: 100%;
    border: none;
    font-size: 36px;
    color: #202124;
    outline: none;
    background: transparent;
    -moz-appearance: textfield;
}
.number-input::-webkit-outer-spin-button,
.number-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.unit-select {
    border: none;
    font-size: 14px;
    color: #202124;
    background: transparent;
    outline: none;
    cursor: pointer;
    width: 100%;
    appearance: none;
    padding: 5px 0;
    font-weight: 500;
}
.select-container { 
    position: relative; 
    width: fit-content;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}
.select-container:hover { border-bottom: 1px solid #dadce0; }
.select-container::after {
    content: "▼";
    font-size: 10px;
    color: #5f6368;
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}
.divider {
    border: none;
    border-top: 1px solid #dadce0;
    margin: 20px 0;
}

/* About Section */
.about-section {
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 16px;
    padding: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #3c4043;
}
.about-section h3 { font-size: 16px; margin-bottom: 8px; color: #202124; }
.about-section ul { padding-left: 20px; margin-top: 8px; }

/* Footer */
.app-footer {
    text-align: center;
    font-size: 12px;
    color: #5f6368;
    margin-top: 10px;
}
.app-footer a { color: #1a73e8; text-decoration: none; font-weight: 600; }
.app-footer a:hover { text-decoration: underline; }
