* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: sans-serif;
    background-image: url("/img/doshikminebg.webp");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.donpage {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: sans-serif;
    background-color: rgba(31, 27, 26, 1);
    background-size: cover;
    background-position: center;
}

.container {
    flex: 1 0 auto;
    padding-top: 45px;
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.server-select {
    display: none;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-gap: 12px;
    padding-bottom: 20px;
    padding-top: 20px;
    margin-bottom: 20px;
    text-align: center;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

.server-select button,
.server-select a {
    font-size: 15px;
    border-radius: 10px;
    border: whitesmoke solid 2px;
}

.download {
    display: grid;
    grid-gap: 18px;
    padding-bottom: 20px;
    padding-top: 20px;
    margin-bottom: 100px;
    margin-top: 150px;
    text-align: center;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

.download button {
    border-radius: 10px;
    border: whitesmoke solid 2px;
}

.logo {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-top: 45px;
    margin-bottom: 20px;
    width: fit-content;
    max-width: 100%;
}

.logo img {
    max-width: 100%;
    height: auto;
}

.subtitle {
    font-weight: 500;
    font-size: 18px;
    width: fit-content;
    margin: 20px auto;
    color: white;
    text-align: center;
}

.product-body {
    display: block;
    margin-top: 20px;
    width: 100%;
    max-width: 400px;
}

.donate-form-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.product-body input,
.select2-container {
    width: 100% !important;
    max-width: 400px !important;
    height: 50px !important;
    box-sizing: border-box !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.product-body input {
    margin-bottom: 16px !important;
    margin-top: 0 !important;
    padding-left: 15px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.select2-container {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.product-body select {
    width: 100%;
    max-width: 400px;
    margin: 16px auto;
}

.product-body button {
    display: block;
    margin: 25px auto 0 auto;
    width: 100%;
    max-width: 250px;
    height: 50px;
    background: rgba(137, 252, 91, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    color: #1f1f1f;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.product-body button:hover {
    background: rgba(137, 252, 91, 1);
}

.accepter {
    max-width: 400px;
    margin: 20px auto 10px auto;
    font-size: 12px;
    text-align: center;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.5);
}

.accepter a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: underline;
}

.footer {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #ffffff;
    padding-top: 15px;
    padding-bottom: 15px;
    width: 100%;
    flex-shrink: 0;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 15px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px;
}

.nav-link:hover {
    color: #fff !important;
}

.footer-bottom {
    text-align: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 11px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.3);
}

.footer-bottom p {
    margin: 2px 0;
}

@media (max-width: 768px) {
    .footer-container {
        justify-content: center;
        text-align: center;
    }
}

.select2-container--default .select2-selection--single {
    background-color: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 6px !important;
    height: 50px !important;
    display: flex;
    align-items: center;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: rgba(255, 255, 255, 0.9) !important;
    padding-left: 15px;
    font-size: 15px;
    line-height: normal;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px !important;
    right: 10px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #fff transparent transparent transparent !important;
}

.select2-dropdown {
    background-color: #252525 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 6px !important;
    overflow: hidden;
    z-index: 9999;
}

.select2-results__option {
    padding: 12px 15px !important;
    font-size: 14px;
    color: #e0e0e0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    white-space: normal !important;
    word-wrap: break-word;
}

.select2-container--default .select2-results__group {
    background-color: #1a1a1a !important;
    color: #89fc5b !important;
    padding: 10px 15px !important;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: rgba(137, 252, 91, 0.2) !important;
    color: #ffffff !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: rgba(137, 252, 91, 0.1) !important;
}

.select2-results__options::-webkit-scrollbar {
    width: 8px;
}

.select2-results__options::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.select2-results__options::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}