* {
    box-sizing: border-box;
}
:root {
    --primary: #007BFF;
    --danger: #e74c3c;
    --success: #2ecc71;
}
body {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    background: #f5f7fa;
    color: #333;
}
.container {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.8s ease;
}
h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 20px;
}
form {
    width: 100%;
    padding: 15px;
}
label {
    font-weight: 600;
    margin-top: 10px;
    display: block;
    margin-bottom: 5px;
}
input, select, form a {
    display:block;
    width: 100%;
    padding: 12px;
    border: 2px solid var(--primary);
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 15px;
    transition: 0.3s;
}
input:focus, select:focus {
    border-color: var(--success);
    outline: none;
    transform: scale(1.02);
}
form a {
    display: block;
    text-align: center;
    text-decoration: none;
}
.price-box, .total-box {
    background: #e8fff0;
    color: #000;
    padding: 20px;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    border: 2px solid var(--primary);
    margin: 15px 0;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.addons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}
.addons label {
    background: #f1f1f1;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}
.addons label:hover {
    background: #e8f0fe;
    border-color: var(--primary);
}
button,form a {
    margin: 10px 0;
    background: var(--primary);
    color: #fff;
    padding: 15px;
    border: none;
    width: 100%;
    font-size: 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}
button:hover {
    background: #0056b3;
    transform: scale(1.03);
}
.error {
    border: 2px solid var(--danger) !important;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}
.popup-content {
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    animation: zoomIn 0.3s ease;
    text-align: center;
}
.popup-content img.logo {
    width: 140px;
    margin-bottom: 15px;
}
.popup-content p {
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 20px;
    white-space: pre-wrap;
    color: #333;
}
.popup-content .btn-group {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.popup-content .btn-group button,
#downloadBtn {
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    color: #fff;
    transition: 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
#term-check {
    display: flex;
    flex-direction: row;
    align-content: start;
    justify-content: start;
    font-size: unset;
    font-weight: unset;
}
#term-check > input {
    display: inline;
    margin: 3px;
    width: 20px;
}
#term-check > a {
    display: inline;
    background-color: unset;
    color: #2ecc71;
    margin: unset;
    margin-left: 5px;
    padding: unset;
    font-size: unset;
    font-weight: unset;
    width: fit-content;
    text-decoration: underline;
}

#yesBtn {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}
#noBtn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}
#downloadBtn {
    background: linear-gradient(135deg, #007BFF, #0056b3);
    margin-top: 25px;
    width: 100%;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes zoomIn {
    from {
        transform: scale(0.5);
    }
    to {
        transform: scale(1);
    }
}