body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: url('back.jpg') no-repeat center center/cover;
}

.crystalclear-box, #payment-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

/* Allow the box to scale with content without overflow */
.crystalclear-box {
    min-height: 50vh;
    height: auto;
}

.logo {
    width: 100px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.rib {
    width: 80%;
    margin: 20px auto;
    display: block;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 15px 30px;
    margin: 15px 0;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    font-size: 16px;
}

button:hover {
    background-color: #45a049;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.modal {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    text-align: center;
}

#payment-form label {
    display: block;
    margin: 10px 0 5px;
    font-weight: 500;
}

#payment-form input[type="text"],
#payment-form input[type="email"],
#payment-form input[type="file"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
}

.error-box {
    background: rgba(255, 70, 70, 0.9);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: left;
}

.error-box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.error-box li {
    margin-bottom: 5px;
}

.hidden {
    display: none;
}
