/**
 * POLSKI | POLISH:
 * Wszelkie prawa zastrzeżone © 2025 ShiroeBot.xyz.
 *
 * Niniejszy kod jest własnością ShiroeBot.xyz i stanowi chroniony materiał autorski.
 * Kopiowanie, rozpowszechnianie, modyfikowanie, dekompilacja lub wykorzystywanie jakiejkolwiek części
 * tego kodu w jakiejkolwiek formie, zarówno komercyjnej, jak i niekomercyjnej, bez uprzedniej pisemnej
 * zgody autora jest surowo zabronione.
 *
 * Wszelkie naruszenie powyższych warunków może skutkować odpowiedzialnością cywilną i karną.
 *
 * Jeśli masz pytania dotyczące warunków licencji, skontaktuj się z autorem na serwerze wsparcia.
*/

/**
 * ANGIELSKI | ENGLISH:
 * All rights reserved © 2025 ShiroeBot.xyz.
 *
 * This code is the property of ShiroeBot.xyz and constitutes a protected copyrighted material.
 * Copying, distribution, modification, decompilation, or usage of any part
 * of this code in any form, whether commercial or non-commercial, without prior written
 * consent from the author is strictly prohibited.
 *
 * Any violation of the above terms may result in civil and criminal liability.
 *
 * If you have any questions regarding the licensing terms, please contact the author on the support server.
*/

.premium-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3px 0px 0px 0px;
}

.premium-header {
    text-align: center;
    margin-bottom: 25px;
}

.premium-header h1 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #ffffff;
}

.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 24px;
    margin-bottom: 36px;
}

.premium-card {
    background: #232323;
    border-radius: 10px;
    padding: 22px;
    border: 2px solid #000000;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 420px;
}

.premium-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.product-icon {
    width: 48px;
    height: 48px;
    background: #2c2c2c;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.product-icon svg {
    width: 22px;
    height: 22px;
    fill: #e184df;
}

.product-info h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.product-info .price {
    font-size: 1.05rem;
    color: #b9bbbe;
    font-weight: 700;
    justify-self: center;
}

.product-features {
    margin: 15px 0;
}

.product-features ul {
    list-style: none;
    padding: 0px;
}

.product-features li {
    color: rgb(185, 187, 190);
    position: relative;
    padding: 1px 0px 1px 20px;
}

.product-features li::before {
    content: "✓";
    position: absolute;
    left: 0px;
    color: #3e8e3e;
    font-weight: bold;
}

.premium-form {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #b9bbbe;
}

.form-group input[type="text"],
.form-group select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    margin-bottom: 10px;
    border: none;
    border-radius: 4px;
    background-color: #444;
    color: #f1f1f1;
    font-size: 0.9rem;
    outline: none;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('/images/select-arrow.svg');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px 16px;
    padding-right: 30px;
}

.form-group select::-webkit-scrollbar {
    width: 8px;
}

.form-group select::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 4px;
}

.form-group select::-webkit-scrollbar-track {
    background-color: #333;
}

.form-group input:disabled,
.form-group select:disabled {
    background-color: #2f2f2f;
}

.form-button {
    margin-top: auto;
}

.premium-button {
    width: 100%;
    padding: 12px 14px;
    background: #4caf50;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.premium-button:hover {
    background: #3e8e3e;
}

.premium-button:disabled {
    background-color: #2f2f2f;
    cursor: unset;
}

.manage-subscriptions {
    background: #232323;
    border-radius: 10px;
    padding: 20px;
    border: 2px solid #000;
    margin-top: 28px;
}

.manage-header h2 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 8px;
    text-align: center;
}

.subscription-list {
    display: grid;
    gap: 12px;
}

.subscription-item {
    background: #2f2f2f;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid #5b6eae;
}

.subscription-info h4 {
    color: #fff;
    margin: 0 0 6px 0;
}

.subscription-info p {
    color: #b9bbbe;
    margin: 0;
    font-size: 0.9rem;
    word-break: break-word;
}

.manage-button {
    padding: 8px 12px;
    background: #5b6eae;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.manage-button:hover {
    background: #4a5d95;
}

.no-subscriptions {
    text-align: center;
    padding: 20px;
    color: #b9bbbe;
}

.error-alert {
    background-color: #f44336;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    margin: 0 auto;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1003;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.3s ease;
    min-width: 300px;
    max-width: 90%;
}

@media (max-width: 768px) {
    .premium-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .premium-card {
        padding: 16px;
        min-height: 360px;
    }
}

@media (max-width: 480px) {
    .premium-container {
        padding: 10px;
    }
}