/* General */ body { font-family: Arial, sans-serif; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; min-height: 100vh; background-color: #001d57; /* Latar belakang biru gelap */ } .container { background: white; padding: 25px; border-radius: 12px; box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); width: 100%; max-width: 400px; } /* Header */ header h1 { text-align: center; margin-bottom: 20px; color: #001d57; font-size: 22px; font-weight: bold; } /* Form Groups */ .form-group { margin-bottom: 15px; } label { display: block; margin-bottom: 8px; color: #333; font-weight: bold; } input, select { width: 100%; padding: 12px; font-size: 16px; border: 1px solid #ddd; border-radius: 8px; transition: border-color 0.3s ease; } input:focus, select:focus { border-color: #87cefa; outline: none; } /* Swap Button */ .swap-group { text-align: center; margin: 15px 0; } #swapButton { background-color: #87CEFA; /* Biru Langit */ border: none; border-radius: 50%; padding: 15px; font-size: 18px; color: white; cursor: pointer; box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2); transition: background-color 0.3s ease, transform 0.2s ease; } #swapButton:hover { background-color: #5faad7; /* Biru Langit Gelap */ transform: scale(1.1); } /* Convert Button */ .convert-button { background-color: #007bff; border: none; border-radius: 8px; padding: 14px 20px; font-size: 18px; color: white; font-weight: bold; cursor: pointer; width: 100%; box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2); transition: background-color 0.3s ease, transform 0.2s ease; } .convert-button:hover { background-color: #0056b3; transform: scale(1.05); } /* Result Box */ .result-box { margin-top: 15px; padding: 15px; font-size: 16px; color: #333; text-align: center; background-color: #f0f4ff; border: 1px solid #87cefa; border-radius: 8px; } /* Footer */ footer { text-align: center; margin-top: 20px; font-size: 14px; color: rgba(255, 255, 255, 0.8); }