/* Body & Background */
body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: url("img/futuristic-night-city-blur.png") no-repeat center center fixed;
    background-size: cover;
    overflow-x: hidden;
    color: #fff;
    position: relative;
}

/* Particles Layer */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    right: 20px;
    top: 30%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 50;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: solid 1px rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    cursor: pointer;
    color: white;
    font-size: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.float-btn:hover {
    background: rgba(255,255,255,0.18);
}

.whatsapp-btn i {
    font-size: 26px;
    color: #25D366;
}

/* Logo & Header */
.logo-container {
    text-align: center;
    margin-top: 20px;
    z-index: 10;
    position: relative;
}

.main-logo {
    width: 90px;
}

.title {
    text-align: center;
    margin-top: 10px;
    font-size: 32px;
    letter-spacing: 1px;
}

/* Calculator Container */
.calculator-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding-bottom: 30px;
    z-index: 10;
    position: relative;
}

/* Glass Card */
.glass-card {
    background: rgba(255,255,255,0.13);
    border-radius: 18px;
    padding: 35px 30px; /* more padding for spacing */
    width: 95%;
    max-width: 450px;
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.25);
    z-index: 10;
    box-sizing: border-box;
}

/* Input Groups */
.input-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    align-items: center; /* center the input */
}

.input-group label {
    font-size: 15px;
    margin-bottom: 6px;
    display: block;
    text-align: center;
}

input, select {
    width: 90%; /* slightly smaller than card width */
    max-width: 400px; /* uniform size */
    padding: 14px;
    border-radius: 10px;
    border: none;
    outline: none;
    background: rgba(255,255,255,0.18);
    color: white;
    font-size: 15px;
    box-sizing: border-box;
    display: block;
    margin: 0 auto;
}

input::placeholder {
    color: rgba(255,255,255,0.55); /* lighter placeholder */
}

/* Calculate Button */
.calculate-btn {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    border-radius: 10px;
    background: linear-gradient(90deg, #00d46a, #009c4c);
    border: none;
    color: white;
    font-weight: bold;
    font-size: 17px;
    cursor: pointer;
    transition: 0.3s;
}

.calculate-btn:hover {
    opacity: 0.85;
}

/* Result Box */
.result-box {
    margin-top: 20px;
    text-align: center;
}

#pipValue {
    font-size: 30px;
    font-weight: bold;
    color: #00ff88;
}

/* Bottom Buttons */
.bottom-buttons {
    text-align: center;
    margin-top: 40px;
    z-index: 10;
    position: relative;
}

.bottom-btn {
    display: inline-block;
    margin: 10px;
    padding: 12px 20px;
    border-radius: 10px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    color: white;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}

.bottom-btn:hover {
    background: rgba(255,255,255,0.28);
}

/* Footer */
footer {
    text-align: center;
    margin-top: 20px;
    padding: 25px 0;
    font-size: 14px;
    opacity: 0.9;
}

/* Custom Currency Input spacing */
#customCurrency {
    text-align: center;
}
