/** view page  **/

body, html {
    background-color: #000;
    color: #fff;
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-y: auto; /* Ensure that the body can scroll */
}
.product-title {
    font-size: 2vw;
    text-transform: uppercase;
    line-height: 1;
}
.product-price {
    font-size: 24px;
    margin: 15px 0;
}
.product-description {
    margin: 20px 0;
}
.product-categories, .product-tags, .product-share {
    margin: 10px 0;
    font-size: 16px;
}
.btn-add-to-cart {
    background-color: #fff;
    border: none;
    color: #0a0a0a;
}
.btn-add-to-cart:hover{
    background-color: #00bfff;
}
.product-images img {
    max-width: 100px;
    margin: 5px;
}
.container-card {
    display: grid;
    place-content: center;
    font-family: "Oswald", sans-serif;
    font-size: 50px;
    font-weight: 700;
    text-transform: uppercase;
    color: beige;
    position: relative;
    width: 100%;
    max-width: 512px;
    height: auto;
    aspect-ratio: 1; /* Keeps the card square */
    background-image: linear-gradient(to right top, #191919, #191919, #777879, #191919, #191919);
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: auto;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .container-card {
        font-size: 40px; /* Adjust font size for smaller screens */
        padding: 10px;
    }
}

/* Media query for very small screens */
@media (max-width: 480px) {
    .container-card {
        font-size: 30px; /* Further reduce font size */
        border-radius: 15px; /* Slightly reduce border radius */
    }
}

:root {
    --background-color: black;
    --text-color: hsl(0, 0%, 100%);
}
.container-card > div {
    grid-area: 1/1/-1/-1;
}
.top {
    clip-path: polygon(0% 0%, 100% 0%, 100% 50%, 0% 85%);
}
.bottom {
    clip-path: polygon(0% 60%, 100% 50%, 100% 100%, 0% 100%);
    color: transparent;
    background: linear-gradient(177deg, black 50%,hsl(0, 0%, 100%) 65%);
    background-clip: text;
    -webkit-background-clip: text;
    transform: translateX(-0.02em);
}
.tabs {
    display: flex;
    cursor: pointer;
    font-size: 30px;
    margin: 20px 0 2px 0;
}

.content.active {
    display: block;
}

/** checkout page **/

.form-container {
    background-color: #000;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Media query for tablets and small screens */
@media (max-width: 768px) {
    .form-container {
        padding: 10px; /* Reduce padding for smaller screens */
        border-radius: 8px; /* Adjust border-radius slightly */
    }
}

/* Media query for very small screens (e.g., mobile devices) */
@media (max-width: 480px) {
    .form-container {
        padding: 15px; /* Further reduce padding */
        border-radius: 5px; /* Smaller border radius for compact design */
    }
}

.card-header {
    background-color: #000;
    border-bottom: none;
}
.card {
    border: none;
    background-color: #000;
}
.form-control {
    background-color: #333333;
    color: #ffffff;
    border: 1px solid #555555;
}
.form-control::placeholder {
    color: #888888;
}
.form-control:focus {
    background-color: #333333;
    color: #ffffff;
    border-color: #777777;
    box-shadow: none;
}
.form-check-label {
    color: #ffffff;
}

.form-check{
    margin-top: 20px;
    display: inline-block;
}
.list-group-item {
    background-color: #2a2a2a;
    border: 1px solid #333333;
}
.order-title{
    font-size: 25px;
    padding: 0 20px;
}
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}
.btn-primary:hover {
    background-color: #0056b3;
    border-color: #004085;
}
a {
    color: #007bff;
}
a:hover {
    color: #0056b3;
}
hr{
    background: grey;
}
.card-icon img {
    margin-left: 5px;
}
.card-icon-item img {
    height: 20px;
    width: auto;
}
.cvv-container input {
    padding-right: 40px; /* Adjust padding to make space for the image */
    box-sizing: border-box;
}
.cvv-container img {
    position: absolute;
    right: 10px; /* Adjust based on your image size and input padding */
    top: 44%;
    transform: translateY(-50%);
    height: 20px; /* Adjust the height based on your preference */
}
label.form-check-label {
    margin-top: -7px;
}
.payment-card-body {
    background-color: #343434;
    color: white;
}
p.sepaDetails {
    font-size: 14px;
    margin-top: 15px;
    color: lightgray;
}
p.info {
    color: gray;
}

.notice-box {
    padding: 15px;
    background-color: gainsboro;
    color: #000;
    position: relative;
    border-radius: 5px;
}
.form-label{
    margin-top: 10px;
}
.border-bottom-custom {
    width: 100%;
    justify-content: space-between;
}
div#voucherCode {
    width: 100%;
    max-width: 1650px;
}
.is-invalid {
    border-color: #dc3545;
}
.error-message {
    color: #dc3545;
    font-size: 0.875em;
    margin: 3px;
}
.payment-fields{
    margin-top: 20px;
}
div#checkout_payment_option {
    display: none;
}

.payment-option {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.payment-option input[type="radio"] {
    margin-right: 10px;
}

img.payment-icon {
    margin: 17px 0 0 12px;
    height: 30px;
}
.tax{
    display: flex;
    justify-content: space-between;
}

.iti__country-list .iti__country {
    background-color: #444; /* Dark background for each country item */
}
.iti__country-list .iti__country:hover,
.iti__country-list .iti__country:focus {
    background-color: #555; /* Slightly lighter dark background on hover/focus */
}

form#checkoutForm .iti__highlight {
    background: #555;
}
form#checkoutForm .iti__divider{
    display: none;
}

form#checkoutForm .iti__flag-container{
    height: 42px;
}

form#checkoutForm .iti {
    display: block;
}

.iti__country-list .iti__dial-code {
    color: #aaa; /* Light color for dial code */
}

.iti__country-list .iti__country-name {
    color: #fff; /* Light color for country name */
}

.iti__country-list .iti__preferred {
    background-color: #444; /* Dark background for preferred countries */
}
/* .payment-card-body,.payment-p24-body{
    background-color: white;
    color: black;
} */

.swal-custom-button {
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 20px;
    outline: none;
    transition: background-color 0.3s;
}

.swal-custom-button:hover {
    background-color: #0056b3;
}


.error-notification {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
}

.flag-icon {
    vertical-align: middle;
    margin-right: 8px;
}
.select2-container {
    width: 100% !important; /* Ensure select2 uses full width */
}

/* Invalid (Error) Style */
.select2-selection.is-invalid {
    border: 2px solid #EF4444; /* Red border for error */
    border-radius: 5px; /* Rounded corners */
    padding-right: 30px; /* Space for the icon */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23EF4444'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23EF4444' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center; /* Adjust position */
    background-size: 16px 16px;
}

/* Valid (Success) Style */
.select2-selection.is-valid {
    border: 2px solid #059669; /* Green border for success */
    border-radius: 5px;
    padding-right: 30px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23059669' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 16px;
}

/* Error Message Style */
.error-message {
    font-size: 12px;
    color: #EF4444;
    margin-top: 0.25rem;
    display: block;
}

.select2-container .select2-selection {
    position: relative;
    z-index: 1; /* Ensure dropdown appears above other elements */
}

.select2-container .select2-dropdown {
    z-index: 9999 !important; /* Ensure the dropdown is always on top */
}

/* Swal2 Specific Styles */
.swal2-styled.swal2-confirm {
    background-color: #1abc9c !important;
    border: none !important;
    border-radius: 5px !important;
    height: 47px !important;
    width: 15%;
}

.custom-icon .swal2-icon-content {
    font-size: 5.5em !important;
    animation: ringBell 1s infinite !important;
    color: #f39c12 !important; /* Change this to your preferred bell color */
}

.swal2-icon.swal2-info {
    border-color: #f39c12 !important; /* Change this to your preferred bell border color */
}
