/* styles.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    color: #333;
}
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.payment-block {
    background: #fff;
    border: 1px solid #ddd;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
}
.payment-block h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}
.price {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin: 20px 0;
    color: #333;
}
.currency-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}
.currency-buttons button {
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background 0.3s;
    font-weight: bold;
}
.currency-buttons button:hover {
    background: #f0f0f0;
}
.currency-buttons img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}
.result {
    margin-top: 20px;
    padding: 15px;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: none;
    color: #333;
}
.result p {
    margin: 0 0 10px;
}
.promo-code {
    margin-top: 20px;
}
.promo-code label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}
.promo-code input {
    width: calc(100% - 90px);
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.promo-code button {
    padding: 8px 15px;
    border: none;
    background: #007BFF;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 5px;
    transition: background 0.3s;
}
.promo-code button:hover {
    background: #0056b3;
}
.confirm-payment {
    margin-top: 20px;
    text-align: center;
}
.confirm-payment button {
    padding: 10px 20px;
    border: none;
    background: #28a745;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}
.confirm-payment button:hover {
    background: #218838;
}
.support-button {
    margin-top: 20px;
    text-align: center;
}
.support-button a {
    display: inline-block;
    padding: 10px 20px;
    background: #007BFF;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
}
.support-button a:hover {
    background: #0056b3;
}
.address {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 14px;
    color: #007BFF;
}
.address button {
    background: #007BFF;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}
.address button:hover {
    background: #0056b3;
}
.payment-info {
    margin-top: 20px;
    padding: 10px;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    font-size: 14px;
}
.payment-info p {
    margin: 0;
}
body {
    font-family: Arial, sans-serif;
    background-color: #f4f7fa;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.confirmation-block {
    text-align: center;
}

h1 {
    color: #333;
}

.payment-details {
    margin: 20px 0;
    font-size: 16px;
    color: #555;
}

.payment-details p {
    margin: 10px 0;
}

#status {
    font-weight: bold;
    color: #ff9800;
}

.loading {
    display: none;
    text-align: center;
    margin-top: 20px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.product-info {
    display: none;
    margin-top: 30px;
    text-align: left;
}

.product-info h2 {
    font-size: 24px;
    color: #333;
}

.product-info p {
    font-size: 18px;
    color: #555;
}

.info-block {
    margin-top: 30px;
    font-size: 16px;
}

.info-block a {
    color: #3498db;
    text-decoration: none;
}

.info-block a:hover {
    text-decoration: underline;
}
/* Loading animation */
.loading-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 20px;
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Style for the product info */
.product-info {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-info h2 {
    margin-top: 0;
    color: #333;
}

.product-info p {
    font-size: 16px;
    color: #555;
}

/* Confirmation block */
.confirmation-block {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.confirmation-block h1 {
    color: #333;
}

.payment-details p {
    font-size: 16px;
    color: #555;
}

.info-block {
    margin-top: 20px;
}

.info-block a {
    color: #3498db;
    text-decoration: none;
}



