/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(to bottom right, #6A11CB, #2575FC);
    color: #fff;
    padding: 20px;
}

#responseMessage {
    font-size: 18px;
    margin-bottom: 20px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

#emailForm, #updatePasswordForm{
    display: none;
}

form {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
}

form label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: bold;
    color: #ddd;
}

form input[type="email"],
form input[type="text"],
form input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.7);
    color: #333;
    font-size: 14px;
}

.password-wrapper {
    position: relative;
}

.password-wrapper button.toggle-password {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #555;
}

form button[type="submit"] {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: #ff6f61;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

form button[type="submit"]:hover {
    background: #ff8c85;
}

form input[type="checkbox"] {
    margin-right: 10px;
}

.terms-label {
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
    color: #ddd;
}

.terms-label a {
    color: #ffedcc;
    text-decoration: underline;
}

#passwordUpdate:disabled {
    background: #aaa;
    cursor: not-allowed;
}


.product-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.product-box {
    border: 2px solid #ccc;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    background: #646409;
}
.product-box img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}
.product-box strong {
    display: block;
    margin-top: 10px;
    font-size: 1.2em;
}
.product-box.selected {
    border-color: #ff9800;
    background-color: #fff3e0;
}


/* Responsive Design */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    form {
        padding: 15px;
    }

    form button {
        font-size: 14px;
    }
}

#paymentSection {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    margin-top: 20px;
}

#card-element {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    background: white;
}

#submitPayment {
    padding: 10px;
    border: none;
    background: #28a745;
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

#submitPayment:hover {
    background: #218838;
}

#card-errors {
    color: red;
    margin-top: 10px;
}
