    .activation-container {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: calc(100vh - 200px);
        padding: 20px;
    }

    .activation-card {
        background: rgba(18, 24, 34, 0.6);
        backdrop-filter: blur(20px) saturate(200%);
        -webkit-backdrop-filter: blur(20px) saturate(200%);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 50px;
        padding: 60px 40px;
        width: 100%;
        max-width: 550px;
        text-align: center;
        box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
    }

    .error-border {
        border-color: rgba(255, 71, 87, 0.2);
    }

    .error-icon-wrapper {
        width: 100px;
        height: 100px;
        background: rgba(255, 71, 87, 0.1);
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto 30px;
        border: 1px solid rgba(255, 71, 87, 0.3);
        box-shadow: 0 0 30px rgba(255, 71, 87, 0.15);
    }

    .error-icon {
        font-size: 48px;
        color: #ff4757;
        text-shadow: 0 0 15px rgba(255, 71, 87, 0.5);
    }

    .activation-header h2 {
        font-size: 32px;
        color: white;
        margin-bottom: 15px;
        background: linear-gradient(135deg, #ffffff, #ffb0b0);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .activation-header p {
        color: #b0c6e0;
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 25px;
    }

    .error-reasons {
        text-align: left;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 25px;
        padding: 20px 30px;
        margin-bottom: 35px;
    }

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

    .error-reasons li {
        color: #9bb1d0;
        font-size: 15px;
        padding: 8px 0;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .error-reasons li::before {
        content: "•";
        color: #ff4757;
        font-weight: bold;
    }

    .activation-actions {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .action-btn {
        display: inline-block;
        padding: 18px 45px;
        border-radius: 50px;
        font-size: 18px;
        font-weight: 600;
        text-decoration: none;
        transition: 0.3s;
        width: 100%;
    }

    .action-btn.secondary {
        background: rgba(255, 255, 255, 0.05);
        color: white;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .action-btn.secondary:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
    }

    .support-link {
        color: #7f99c0;
        text-decoration: none;
        font-size: 14px;
        border-bottom: 1px dashed #4d7dd0;
    }

    .support-link:hover {
        color: white;
        border-bottom-color: white;
    }

    .activation-container {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: calc(100vh - 200px);
        padding: 20px;
    }

    .activation-card {
        background: rgba(18, 24, 34, 0.6);
        backdrop-filter: blur(20px) saturate(200%);
        -webkit-backdrop-filter: blur(20px) saturate(200%);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 50px;
        padding: 60px 40px;
        width: 100%;
        max-width: 550px;
        text-align: center;
        box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
        animation: cardSlideUp 0.6s ease-out;
    }

    @keyframes cardSlideUp {
        from { opacity: 0; transform: translateY(30px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .success-icon-wrapper {
        width: 100px;
        height: 100px;
        background: linear-gradient(135deg, rgba(46, 213, 115, 0.2), rgba(34, 166, 179, 0.1));
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto 30px;
        border: 1px solid rgba(46, 213, 115, 0.3);
        box-shadow: 0 0 30px rgba(46, 213, 115, 0.15);
    }

    .success-icon {
        font-size: 48px;
        color: #2ed573;
        text-shadow: 0 0 15px rgba(46, 213, 115, 0.5);
    }

    .activation-header h2 {
        font-size: 32px;
        color: white;
        margin-bottom: 15px;
        background: linear-gradient(135deg, #ffffff, #c9dbff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .activation-header p {
        color: #b0c6e0;
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 40px;
    }

    .action-btn {
        display: inline-block;
        padding: 18px 45px;
        border-radius: 50px;
        font-size: 18px;
        font-weight: 600;
        text-decoration: none;
        transition: 0.3s;
    }

    .action-btn.primary {
        background: linear-gradient(130deg, #1f4790, #3366cc);
        color: white;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 10px 20px -8px rgba(0, 29, 75, 0.5);
    }

    .action-btn.primary:hover {
        transform: translateY(-3px);
        background: linear-gradient(130deg, #295ac2, #3f78e0);
        box-shadow: 0 15px 25px -8px rgba(0, 42, 112, 0.6);
    }

    .activation-footer {
        margin-top: 40px;
        padding-top: 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        color: #7f99c0;
        font-size: 14px;
    }

    .activation-footer a {
        color: #9bb9ff;
        text-decoration: none;
        border-bottom: 1px dashed #4d7dd0;
    }

    .activation-footer a:hover {
        color: white;
        border-bottom-color: white;
    }

    .profile-edit-container {
    background: rgba(18, 24, 34, 0.6);
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 60px;
    padding: 50px 60px;
    max-width: 600px;
    margin: 40px auto;
    box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.8);
    transition: 0.3s;
}

.profile-edit-container:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(22, 30, 42, 0.7);
}

.profile-edit-container h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
    background: linear-gradient(135deg, #ffffff, #c9dbff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 35px;
    background: rgba(10, 15, 25, 0.4);
    padding: 6px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.tab-btn {
    flex: 1;
    padding: 14px 20px;
    background: transparent;
    border: none;
    border-radius: 40px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    white-space: nowrap;
}

.tab-btn:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    background: linear-gradient(130deg, #1f4790, #3366cc);
    color: #ffffff;
    box-shadow: 0 10px 20px -8px #001d4b;
}

.tab-btn.active:hover {
    background: linear-gradient(130deg, #295ac2, #3f78e0);
    box-shadow: 0 15px 25px -8px #002a70;
}

.tab-content {
    display: none;
    animation: fadeSlide 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-content.active {
    display: block;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.field-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
}

.field-wrapper label {
    color: #d0e0f8;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.3px;
    padding-left: 16px;
}

.field-wrapper input:not([type="checkbox"]):not([type="radio"]) {
    width: 100%;
    padding: 18px 24px;
    background: rgba(10, 15, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    font-size: 16px;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    outline: none;
    box-sizing: border-box;
}

.field-wrapper input:not([type="checkbox"]):not([type="radio"]):focus {
    border-color: rgba(100, 160, 255, 0.5);
    background: rgba(20, 28, 40, 0.7);
    box-shadow: 0 0 0 4px rgba(100, 160, 255, 0.1);
}

.field-wrapper input:not([type="checkbox"]):not([type="radio"])::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input {
    padding-right: 60px !important;
}

.toggle-password {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 2;
}

.toggle-password:hover {
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.05);
}

.toggle-password .eye-icon {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: all 0.3s ease;
}

.toggle-password .eye-open {
    display: block;
}

.toggle-password .eye-closed {
    display: none;
}

.toggle-password.showing .eye-open {
    display: none;
}

.toggle-password.showing .eye-closed {
    display: block;
}

.forgot-password-link {
    margin-top: 6px;
    padding-left: 16px;
}

.forgot-password-link a {
    color: #9bb9ff;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px dashed rgba(77, 125, 208, 0.4);
    transition: all 0.2s ease;
}

.forgot-password-link a:hover {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.errorlist {
    color: #ff8e8e;
    font-size: 14px;
    padding: 8px 16px;
    background: rgba(255, 142, 142, 0.08);
    border-radius: 30px;
    border: 1px solid rgba(255, 142, 142, 0.15);
    margin-top: 4px;
    list-style: none;
    padding-left: 20px;
}

.errorlist li {
    margin: 2px 0;
}

.helptext {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    padding-left: 16px;
    margin-top: 2px;
}

.btn-save {
    width: 100%;
    padding: 18px;
    background: linear-gradient(130deg, #1f4790, #3366cc);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px -8px #001d4b;
    margin-top: 10px;
}

.btn-save:hover {
    background: linear-gradient(130deg, #295ac2, #3f78e0);
    transform: scale(1.01);
    box-shadow: 0 15px 25px -8px #002a70;
}

.btn-save:active {
    transform: scale(0.97);
}

.btn-save:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.profile-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 30px 0;
}

.telegram-section {
    margin-top: 10px;
}

.telegram-section h3 {
    color: #d0e0f8;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
}

.telegram-section p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.telegram-connected {
    padding: 16px 24px;
    background: rgba(110, 255, 142, 0.08);
    border: 1px solid rgba(110, 255, 142, 0.2);
    border-radius: 50px;
    text-align: center;
}

.telegram-connected .tg-status {
    color: #6eff8e;
    font-weight: 500;
    font-size: 15px;
}

.btn-telegram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(130deg, #0088cc, #2aabee);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px -8px rgba(0, 136, 204, 0.3);
}

.btn-telegram:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px -8px rgba(0, 136, 204, 0.5);
    background: linear-gradient(130deg, #0099dd, #3bb9ff);
}

.btn-telegram:active {
    transform: scale(0.97);
}

.btn-telegram .tg-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .profile-edit-container {
        padding: 35px 25px;
        border-radius: 40px;
        margin: 20px 15px;
    }

    .profile-edit-container h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .profile-tabs {
        flex-direction: column;
        gap: 8px;
        border-radius: 30px;
        padding: 5px;
    }

    .tab-btn {
        padding: 12px 18px;
        font-size: 14px;
        text-align: center;
        border-radius: 25px;
    }

    .field-wrapper input:not([type="checkbox"]):not([type="radio"]) {
        padding: 15px 20px;
        font-size: 14px;
    }

    .password-wrapper input {
        padding-right: 50px !important;
    }

    .toggle-password {
        right: 16px;
    }

    .toggle-password .eye-icon {
        width: 20px;
        height: 20px;
    }

    .btn-save {
        padding: 16px;
        font-size: 16px;
    }

    .field-wrapper label {
        font-size: 14px;
        padding-left: 12px;
    }

    .forgot-password-link a {
        font-size: 13px;
    }

    .telegram-section h3 {
        font-size: 18px;
    }

    .telegram-section p {
        font-size: 14px;
    }

    .btn-telegram {
        font-size: 15px;
        padding: 14px 20px;
    }

    .btn-telegram .tg-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 400px) {
    .profile-edit-container {
        padding: 25px 18px;
        border-radius: 30px;
        margin: 15px 10px;
    }

    .profile-edit-container h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .profile-tabs {
        border-radius: 20px;
        padding: 4px;
    }

    .tab-btn {
        padding: 10px 14px;
        font-size: 13px;
        border-radius: 20px;
    }

    .field-wrapper input:not([type="checkbox"]):not([type="radio"]) {
        padding: 13px 16px;
        font-size: 13px;
    }

    .password-wrapper input {
        padding-right: 44px !important;
    }

    .toggle-password {
        right: 12px;
    }

    .toggle-password .eye-icon {
        width: 18px;
        height: 18px;
    }

    .btn-save {
        padding: 14px;
        font-size: 15px;
    }

    .field-wrapper {
        margin-bottom: 20px;
    }

    .errorlist {
        font-size: 13px;
        padding: 6px 14px;
    }

    .telegram-section h3 {
        font-size: 16px;
    }

    .telegram-section p {
        font-size: 13px;
    }

    .btn-telegram {
        font-size: 14px;
        padding: 12px 16px;
        gap: 10px;
    }

    .btn-telegram .tg-icon {
        width: 18px;
        height: 18px;
    }

    .telegram-connected {
        padding: 12px 18px;
    }

    .telegram-connected .tg-status {
        font-size: 14px;
    }
}
.dashboard-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: calc(100vh - 200px);
    width: 100%;
    padding: 40px 20px;
}

.profile-card {
    background: rgba(18, 24, 34, 0.6);
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 60px;
    padding: 50px 60px;
    width: 100%;
    max-width: 1200px;
    box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.8);
    transition: 0.3s;
}

.profile-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(22, 30, 42, 0.7);
}

.profile-card h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ffffff, #c9dbff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-card h3 {
    font-size: 22px;
    font-weight: 500;
    color: #ffffff;
    margin-top: 35px;
    margin-bottom: 15px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.detail-item {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    padding: 20px 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.detail-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.4);
}

.d-label {
    display: block;
    color: #9bb1d0;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.d-value {
    display: block;
    color: #ffffff;
    font-size: 26px;
    font-weight: 600;
}

.d-value[style*="color: #4ade80;"] {
    background: linear-gradient(135deg, #4ade80, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.key-panel {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    padding: 24px 30px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.key-panel:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.4);
}

.key-header {
    color: #9bb1d0;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.key-content {
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    padding: 14px 20px;
    background: rgba(10, 15, 25, 0.4);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: all 0.3s ease;
    word-break: break-all;
    user-select: all;
}

.key-content:hover {
    border-color: rgba(74, 222, 128, 0.3);
    background: rgba(10, 15, 25, 0.6);
    box-shadow: 0 0 30px rgba(74, 222, 128, 0.05);
}

.key-content:active {
    transform: scale(0.98);
}

.table-container {
    overflow-x: auto;
    margin-top: 15px;
    border-radius: 30px;
    background: rgba(0, 0, 0, 0.2);
    padding: 5px 5px 5px 5px;
}

.table-container table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    color: #94a3b8;
    font-size: 15px;
    min-width: 700px;
}

.table-container thead tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    height: 40px;
}

.table-container thead th {
    color: #b0c6e0;
    font-weight: 500;
    font-size: 14px;
    padding: 12px 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.7;
}

.table-container tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    height: 50px;
    transition: all 0.2s ease;
}

.table-container tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.table-container tbody td {
    padding: 12px 16px;
    color: #e0eaff;
    font-size: 15px;
}

.table-container tbody td:first-child {
    font-weight: 500;
    color: #ffffff;
}

.table-container tbody td:last-child {
    font-weight: 600;
    color: #ffffff;
}

.table-container tbody td span {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.table-container tbody td span[style*="color: #4ade80;"] {
    background: rgba(74, 222, 128, 0.12) !important;
    color: #4ade80 !important;
}

.table-container tbody td span[style*="color: #f87171;"] {
    background: rgba(248, 113, 113, 0.12) !important;
    color: #f87171 !important;
}

.table-container tbody tr:last-child {
    border-bottom: none;
}

.table-container tbody tr:last-child td:first-child {
    border-radius: 0 0 0 30px;
}

.table-container tbody tr:last-child td:last-child {
    border-radius: 0 0 30px 0;
}

.table-container tbody td[colspan="5"] {
    text-align: center;
    padding: 30px 20px;
    color: #7f99c0;
    font-size: 16px;
}

@media (max-width: 1024px) {
    .profile-card {
        max-width: 100%;
        padding: 40px 35px;
    }
}

@media (max-width: 768px) {
    .dashboard-wrapper {
        padding: 20px 15px;
    }
    
    .profile-card {
        padding: 30px 20px;
        border-radius: 40px;
    }
    
    .profile-card h2 {
        font-size: 26px;
    }
    
    .profile-card h3 {
        font-size: 19px;
    }
    
    .details-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 12px;
    }
    
    .detail-item {
        padding: 16px 18px;
    }
    
    .d-value {
        font-size: 22px;
    }
    
    .key-panel {
        padding: 18px 20px;
    }
    
    .key-content {
        font-size: 15px;
        padding: 12px 16px;
    }
    
    .table-container table {
        font-size: 14px;
        min-width: 600px;
    }
    
    .table-container thead th {
        font-size: 12px;
        padding: 10px 12px;
    }
    
    .table-container tbody td {
        padding: 10px 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .profile-card {
        padding: 24px 16px;
        border-radius: 30px;
    }
    
    .profile-card h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .profile-card h3 {
        font-size: 17px;
        margin-top: 25px;
    }
    
    .details-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .detail-item {
        padding: 14px 16px;
        border-radius: 20px;
    }
    
    .d-value {
        font-size: 18px;
    }
    
    .d-label {
        font-size: 12px;
    }
    
    .key-panel {
        padding: 14px 16px;
        border-radius: 30px;
    }
    
    .key-header {
        font-size: 13px;
    }
    
    .key-content {
        font-size: 13px;
        padding: 10px 14px;
        border-radius: 20px;
    }
    
    .table-container {
        border-radius: 20px;
        padding: 0;
        margin: 0 -10px;
    }
    
    .table-container table {
        font-size: 13px;
        min-width: 500px;
    }
    
    .table-container thead th {
        font-size: 11px;
        padding: 8px 10px;
    }
    
    .table-container tbody td {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .table-container tbody td span {
        font-size: 11px;
        padding: 3px 8px;
    }
}

.fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

    .referral-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: calc(100vh - 200px);
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
        padding: 60px 30px;
        text-align: center;
    }

    .referral-container h2 {
        font-size: 42px;
        font-weight: 700;
        margin-bottom: 20px;
        background: linear-gradient(135deg, #ffffff, #c9dbff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        line-height: 1.2;
    }

    .referral-container p {
        color: #b0c6e0;
        font-size: 18px;
        line-height: 1.7;
        max-width: 600px;
        margin: 0 auto 45px auto;
        opacity: 0.9;
    }

    .choice-buttons {
        display: flex;
        flex-direction: column;
        gap: 18px;
        width: 100%;
        max-width: 420px;
    }

    .choice-buttons .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 20px 40px;
        border-radius: 60px;
        font-size: 18px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        width: 100%;
        position: relative;
        min-height: 64px;
        letter-spacing: 0.3px;
        gap: 12px;
    }

    .choice-buttons .btn svg {
        flex-shrink: 0;
        width: 24px;
        height: 24px;
    }

    .btn-bot {
        background: linear-gradient(130deg, #1f4790, #3366cc);
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 10px 30px -10px #001d4b;
    }

    .btn-bot:hover {
        background: linear-gradient(130deg, #295ac2, #3f78e0);
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 20px 40px -10px #002a70;
        border-color: rgba(255, 255, 255, 0.3);
    }

    .btn-bot:active {
        transform: translateY(0) scale(0.97);
    }

    .btn-bot svg {
        fill: #ffffff;
    }

    .btn-site {
        background: rgba(18, 24, 34, 0.6);
        backdrop-filter: blur(20px) saturate(200%);
        -webkit-backdrop-filter: blur(20px) saturate(200%);
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    }

    .btn-site:hover {
        background: rgba(22, 30, 42, 0.8);
        border-color: rgba(255, 255, 255, 0.25);
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
    }

    .btn-site:active {
        transform: translateY(0) scale(0.97);
    }

    .btn-site svg {
        fill: #ffffff;
        opacity: 0.8;
    }

    @media (max-width: 768px) {
        .referral-container {
            padding: 40px 20px;
            min-height: calc(100vh - 150px);
        }
        
        .referral-container h2 {
            font-size: 32px;
        }
        
        .referral-container p {
            font-size: 16px;
            margin-bottom: 35px;
            padding: 0 10px;
        }
        
        .choice-buttons {
            max-width: 100%;
            gap: 15px;
        }
        
        .choice-buttons .btn {
            padding: 18px 30px;
            font-size: 16px;
            min-height: 58px;
        }
        
        .choice-buttons .btn svg {
            width: 20px;
            height: 20px;
        }
    }

    @media (max-width: 480px) {
        .referral-container {
            padding: 30px 16px;
            min-height: calc(100vh - 120px);
        }
        
        .referral-container h2 {
            font-size: 26px;
        }
        
        .referral-container p {
            font-size: 15px;
            margin-bottom: 30px;
            line-height: 1.6;
        }
        
        .choice-buttons {
            gap: 12px;
        }
        
        .choice-buttons .btn {
            padding: 16px 24px;
            font-size: 15px;
            min-height: 52px;
            border-radius: 50px;
            gap: 10px;
        }
        
        .choice-buttons .btn svg {
            width: 18px;
            height: 18px;
        }
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .referral-container {
        animation: fadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .referral-container h2 {
        animation: fadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
    }

    .referral-container p {
        animation: fadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
    }

    .choice-buttons {
        animation: fadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
    }

    .registration-container {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: calc(100vh - 300px);
        width: 100%;
        padding: 40px 20px;
    }

    .registration-card {
        background: rgba(18, 24, 34, 0.6);
        backdrop-filter: blur(20px) saturate(200%);
        -webkit-backdrop-filter: blur(20px) saturate(200%);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 60px;
        padding: 50px 60px;
        width: 100%;
        max-width: 550px;
        box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.8);
        transition: 0.3s;
    }

    .registration-card:hover {
        border-color: rgba(255, 255, 255, 0.12);
        background: rgba(22, 30, 42, 0.7);
    }

    .bear-reg-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto 25px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='45' r='35' fill='%23b88b5e' /%3E%3Ccircle cx='30' cy='35' r='10' fill='%233b2b1a' /%3E%3Ccircle cx='70' cy='35' r='10' fill='%233b2b1a' /%3E%3Ccircle cx='40' cy='55' r='6' fill='%23ffb6b6' /%3E%3Ccircle cx='60' cy='55' r='6' fill='%23ffb6b6' /%3E%3Ccircle cx='50' cy='68' r='8' fill='%23553d2e' /%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        filter: drop-shadow(0 8px 16px rgba(150, 180, 255, 0.5));
    }

    .registration-header {
        text-align: center;
        margin-bottom: 40px;
    }

    .registration-header h2 {
        font-size: 36px;
        font-weight: 600;
        margin-bottom: 12px;
        background: linear-gradient(135deg, #ffffff, #c9dbff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .registration-header p {
        color: #b0c6e0;
        font-size: 16px;
    }

    .registration-form {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .field-wrapper {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .field-wrapper label {
        color: #d0e0f8;
        font-size: 14px;
        font-weight: 500;
        letter-spacing: 0.3px;
        padding-left: 16px;
    }

    .field-wrapper input:not([type="checkbox"]):not([type="radio"]) {
        width: 100%;
        padding: 16px 24px;
        background: rgba(10, 15, 25, 0.6);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 50px;
        font-size: 16px;
        color: white;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-sizing: border-box;
        outline: none;
    }

    .field-wrapper input:not([type="checkbox"]):not([type="radio"]):focus {
        border-color: rgba(100, 160, 255, 0.7);
        background: rgba(20, 28, 40, 0.7);
        box-shadow: 0 0 0 3px rgba(70, 130, 240, 0.2);
    }

    .field-wrapper input:not([type="checkbox"]):not([type="radio"])::placeholder {
        color: #5d7395;
    }

    .password-wrapper {
        position: relative;
        width: 100%;
    }

    .password-wrapper input {
        padding-right: 56px !important;
    }

    .toggle-password {
        position: absolute;
        right: 18px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        color: rgba(255, 255, 255, 0.35);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2;
        border-radius: 50%;
    }

    .toggle-password:hover {
        color: rgba(255, 255, 255, 0.7);
        background: rgba(255, 255, 255, 0.05);
    }

    .toggle-password .eye-icon {
        width: 22px;
        height: 22px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: all 0.3s ease;
    }

    .toggle-password .eye-open {
        display: block;
    }

    .toggle-password .eye-closed {
        display: none;
    }

    .toggle-password.showing .eye-open {
        display: none;
    }

    .toggle-password.showing .eye-closed {
        display: block;
    }

    .errorlist {
        list-style: none;
        color: #ff9f9f;
        font-size: 13px;
        margin: 5px 0 0 16px;
        padding: 0;
    }

    .errorlist li {
        margin-bottom: 2px;
    }

    .helptext {
        display: block;
        color: #7f99c0;
        font-size: 12px;
        margin-top: 6px;
        padding-left: 16px;
        line-height: 1.4;
    }

    .non-field-errors {
        background: rgba(200, 60, 60, 0.15);
        border: 1px solid rgba(255, 100, 100, 0.3);
        border-radius: 40px;
        padding: 15px 25px;
        margin-bottom: 20px;
        color: #ffc0c0;
        font-size: 14px;
        text-align: center;
        list-style: none;
    }

    .register-btn {
        width: 100%;
        padding: 18px;
        background: linear-gradient(130deg, #1f4790, #3366cc);
        border: none;
        border-radius: 50px;
        color: white;
        font-size: 18px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 10px 20px -8px #001d4b;
        margin-top: 10px;
    }

    .register-btn:hover {
        background: linear-gradient(130deg, #295ac2, #3f78e0);
        transform: scale(1.01);
        box-shadow: 0 15px 25px -8px #002a70;
    }

    .register-btn:active {
        transform: scale(0.97);
    }

    .login-link {
        text-align: center;
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        color: #8da1c0;
        font-size: 15px;
    }

    .login-link a {
        color: #9bb9ff;
        text-decoration: none;
        border-bottom: 1px dashed #4d7dd0;
        transition: all 0.2s ease;
        font-weight: 500;
    }

    .login-link a:hover {
        color: white;
        border-bottom-color: white;
    }

    @media (max-width: 600px) {
        .registration-card {
            padding: 35px 25px;
            border-radius: 40px;
        }

        .registration-header h2 {
            font-size: 28px;
        }

        .field-wrapper input:not([type="checkbox"]):not([type="radio"]) {
            padding: 14px 20px;
            font-size: 14px;
        }

        .password-wrapper input {
            padding-right: 50px !important;
        }

        .toggle-password {
            right: 14px;
        }

        .toggle-password .eye-icon {
            width: 20px;
            height: 20px;
        }

        .register-btn {
            padding: 16px;
            font-size: 16px;
        }
    }

    @media (max-width: 400px) {
        .registration-card {
            padding: 25px 18px;
            border-radius: 30px;
        }

        .registration-header h2 {
            font-size: 24px;
        }

        .field-wrapper input:not([type="checkbox"]):not([type="radio"]) {
            padding: 12px 16px;
            font-size: 13px;
        }

        .password-wrapper input {
            padding-right: 44px !important;
        }

        .toggle-password {
            right: 10px;
            padding: 6px;
        }

        .toggle-password .eye-icon {
            width: 18px;
            height: 18px;
        }

        .register-btn {
            padding: 14px;
            font-size: 15px;
        }
    }

    .verify-container {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: calc(100vh - 300px);
        width: 100%;
        padding: 40px 20px;
    }

    .verify-card {
        background: rgba(18, 24, 34, 0.6);
        backdrop-filter: blur(20px) saturate(200%);
        -webkit-backdrop-filter: blur(20px) saturate(200%);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 60px;
        padding: 50px 60px;
        width: 100%;
        max-width: 550px;
        text-align: center;
        box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.8);
        transition: 0.3s;
    }

    .verify-card:hover {
        border-color: rgba(255, 255, 255, 0.12);
        background: rgba(22, 30, 42, 0.7);
    }

    /* Медвежья иконка */
    .bear-verify-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto 25px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='45' r='35' fill='%23b88b5e' /%3E%3Ccircle cx='30' cy='35' r='10' fill='%233b2b1a' /%3E%3Ccircle cx='70' cy='35' r='10' fill='%233b2b1a' /%3E%3Ccircle cx='40' cy='55' r='6' fill='%23ffb6b6' /%3E%3Ccircle cx='60' cy='55' r='6' fill='%23ffb6b6' /%3E%3Ccircle cx='50' cy='68' r='8' fill='%23553d2e' /%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        filter: drop-shadow(0 8px 16px rgba(150, 180, 255, 0.5));
    }

    /* Иконка конверта */
    .envelope-icon {
        margin-bottom: 25px;
    }

    .envelope-icon svg {
        filter: drop-shadow(0 4px 12px rgba(59, 130, 246, 0.3));
    }

    .verify-card h2 {
        font-size: 32px;
        font-weight: 600;
        margin-bottom: 20px;
        background: linear-gradient(135deg, #ffffff, #c9dbff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .verify-card .email-highlight {
        display: inline-block;
        background: rgba(59, 130, 246, 0.15);
        padding: 5px 15px;
        border-radius: 40px;
        color: #93c5fd;
        font-weight: 500;
        margin: 10px 0;
    }

    .verify-card p {
        color: #b0c6e0;
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    /* Разделитель */
    .divider {
        width: 60px;
        height: 2px;
        background: linear-gradient(90deg, transparent, #3b82f6, #60a5fa, #3b82f6, transparent);
        margin: 25px auto;
        border-radius: 2px;
    }

    /* Секция со спамом */
    .spam-box {
        background: rgba(0, 0, 0, 0.25);
        border: 1px solid rgba(255, 255, 255, 0.04);
        border-radius: 40px;
        padding: 20px 25px;
        margin-top: 25px;
    }

    .spam-box p {
        margin-bottom: 8px;
        font-size: 14px;
        color: #94a3b8;
    }

    .spam-box small {
        color: #64748b;
        font-size: 12px;
    }

    /* Кнопка назад */
    .back-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-top: 25px;
        color: #60a5fa;
        text-decoration: none;
        font-size: 14px;
        transition: 0.2s;
        border-bottom: 1px dashed rgba(96, 165, 250, 0.3);
    }

    .back-link:hover {
        color: #93c5fd;
        border-bottom-color: #93c5fd;
        gap: 12px;
    }

    /* Кнопка отправить снова */
    .resend-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
        padding: 12px 28px;
        background: rgba(59, 130, 246, 0.1);
        border: 1px solid rgba(59, 130, 246, 0.25);
        border-radius: 40px;
        color: #93c5fd;
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.2s ease;
        cursor: pointer;
    }

    .resend-btn:hover {
        background: rgba(59, 130, 246, 0.2);
        border-color: rgba(59, 130, 246, 0.45);
        color: white;
        transform: translateY(-2px);
    }

    @media (max-width: 550px) {
        .verify-card {
            padding: 35px 25px;
        }
        .verify-card h2 {
            font-size: 26px;
        }
        .verify-card p {
            font-size: 14px;
        }
        .spam-box {
            padding: 15px 20px;
        }
    }

    /* Стили для страницы восстановления пароля */
    .registration-container {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: calc(100vh - 300px);
        width: 100%;
        padding: 40px 20px;
    }

    .registration-card {
        background: rgba(18, 24, 34, 0.6);
        backdrop-filter: blur(20px) saturate(200%);
        -webkit-backdrop-filter: blur(20px) saturate(200%);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 60px;
        padding: 50px 60px;
        width: 100%;
        max-width: 550px;
        box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.8);
        transition: 0.3s;
        text-align: center;
    }

    .registration-card:hover {
        border-color: rgba(255, 255, 255, 0.12);
        background: rgba(22, 30, 42, 0.7);
    }

    /* Медвежья иконка */
    .bear-reset-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto 25px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='45' r='35' fill='%23b88b5e' /%3E%3Ccircle cx='30' cy='35' r='10' fill='%233b2b1a' /%3E%3Ccircle cx='70' cy='35' r='10' fill='%233b2b1a' /%3E%3Ccircle cx='40' cy='55' r='6' fill='%23ffb6b6' /%3E%3Ccircle cx='60' cy='55' r='6' fill='%23ffb6b6' /%3E%3Ccircle cx='50' cy='68' r='8' fill='%23553d2e' /%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        filter: drop-shadow(0 8px 16px rgba(150, 180, 255, 0.5));
    }

    .registration-card h2 {
        font-size: 36px;
        font-weight: 600;
        margin-bottom: 12px;
        background: linear-gradient(135deg, #ffffff, #c9dbff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .registration-card p {
        color: #b0c6e0;
        font-size: 16px;
        margin-bottom: 30px;
    }

    /* Форма */
    .registration-form {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .field-wrapper {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .field-wrapper label {
        color: #d0e0f8;
        font-size: 14px;
        font-weight: 500;
        letter-spacing: 0.3px;
        text-align: left;
        padding-left: 16px;
    }

    /* Стили для input поля */
    .field-wrapper input {
        width: 100%;
        padding: 16px 24px;
        background: rgba(10, 15, 25, 0.6);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 50px;
        font-size: 16px;
        color: white;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-sizing: border-box;
    }

    .field-wrapper input:focus {
        outline: none;
        border-color: rgba(100, 160, 255, 0.7);
        background: rgba(20, 28, 40, 0.7);
        box-shadow: 0 0 0 3px rgba(70, 130, 240, 0.2);
    }

    .field-wrapper input::placeholder {
        color: #5d7395;
    }

    /* Стили для ошибок */
    .errorlist {
        list-style: none;
        color: #ff9f9f;
        font-size: 13px;
        margin: 5px 0 0 16px;
        padding: 0;
        text-align: left;
    }

    .errorlist li {
        margin-bottom: 2px;
    }

    /* Стили для help text */
    .helptext {
        display: block;
        color: #7f99c0;
        font-size: 12px;
        margin-top: 6px;
        padding-left: 16px;
        line-height: 1.4;
        text-align: left;
    }

    /* Non-field ошибки */
    .non-field-errors {
        background: rgba(200, 60, 60, 0.15);
        border: 1px solid rgba(255, 100, 100, 0.3);
        border-radius: 40px;
        padding: 15px 25px;
        margin-bottom: 20px;
        color: #ffc0c0;
        font-size: 14px;
        text-align: center;
    }

    /* Сообщение об успехе */
    .success-message {
        background: rgba(110, 255, 142, 0.15);
        border: 1px solid rgba(110, 255, 142, 0.3);
        border-radius: 40px;
        padding: 15px 25px;
        margin-bottom: 20px;
        color: #6eff8e;
        font-size: 14px;
        text-align: center;
    }

    /* Кнопка */
    .register-btn {
        width: 100%;
        padding: 18px;
        background: linear-gradient(130deg, #1f4790, #3366cc);
        border: none;
        border-radius: 50px;
        color: white;
        font-size: 18px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 10px 20px -8px #001d4b;
        margin-top: 10px;
    }

    .register-btn:hover {
        background: linear-gradient(130deg, #295ac2, #3f78e0);
        transform: scale(1.01);
        box-shadow: 0 15px 25px -8px #002a70;
    }

    /* Ссылка назад */
    .back-link {
        text-align: center;
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        color: #8da1c0;
        font-size: 15px;
    }

    .back-link a {
        color: #9bb9ff;
        text-decoration: none;
        border-bottom: 1px dashed #4d7dd0;
        transition: all 0.2s ease;
        font-weight: 500;
    }

    .back-link a:hover {
        color: white;
        border-bottom-color: white;
    }

    /* Адаптивность */
    @media (max-width: 600px) {
        .registration-card {
            padding: 35px 25px;
        }

        .registration-card h2 {
            font-size: 28px;
        }

        .field-wrapper input {
            padding: 14px 20px;
            font-size: 14px;
        }

        .register-btn {
            padding: 16px;
            font-size: 16px;
        }
    }

/* Стили для глазка в поле пароля */
.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper .input-field {
    padding-right: 60px !important;
}

.toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: rgba(255, 255, 255, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    border-radius: 50%;
}

.toggle-password:hover {
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.05);
}

.toggle-password .eye-icon {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: all 0.3s ease;
}

.toggle-password .eye-open {
    display: block;
}

.toggle-password .eye-closed {
    display: none;
}

.toggle-password.showing .eye-open {
    display: none;
}

.toggle-password.showing .eye-closed {
    display: block;
}

/* Адаптация для мобильных устройств */
@media (max-width: 600px) {
    .password-wrapper .input-field {
        padding-right: 52px !important;
    }
    
    .toggle-password {
        right: 12px;
    }
    
    .toggle-password .eye-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 400px) {
    .password-wrapper .input-field {
        padding-right: 44px !important;
    }
    
    .toggle-password {
        right: 10px;
        padding: 6px;
    }
    
    .toggle-password .eye-icon {
        width: 18px;
        height: 18px;
    }
}

.login-container {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: calc(100vh - 300px);
        width: 100%;
        margin: 20px 0 40px;
    }

    .login-card {
        background: rgba(18, 24, 34, 0.6);
        backdrop-filter: blur(20px) saturate(200%);
        -webkit-backdrop-filter: blur(20px) saturate(200%);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 60px;
        padding: 50px 60px;
        width: 100%;
        max-width: 520px;
        box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.8);
        transition: 0.3s;
    }

    .login-card:hover {
        border-color: rgba(255, 255, 255, 0.12);
        background: rgba(22, 30, 42, 0.7);
        box-shadow: 0 30px 60px -30px #000;
    }

    .login-header {
        text-align: center;
        margin-bottom: 30px;
    }

    .login-header h2 {
        font-size: 36px;
        font-weight: 600;
        margin-bottom: 12px;
        background: linear-gradient(135deg, #ffffff, #c9dbff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .login-header p {
        color: #b0c6e0;
        font-size: 15px;
    }

    /* Медвежья иконка */
    .bear-login-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto 20px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='45' r='32' fill='%23b88b5e' /%3E%3Ccircle cx='30' cy='35' r='10' fill='%233b2b1a' /%3E%3Ccircle cx='70' cy='35' r='10' fill='%233b2b1a' /%3E%3Ccircle cx='40' cy='55' r='5' fill='%23ffb6b6' /%3E%3Ccircle cx='60' cy='55' r='5' fill='%23ffb6b6' /%3E%3Ccircle cx='50' cy='65' r='6' fill='%23553d2e' /%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        filter: drop-shadow(0 6px 12px rgba(150, 180, 255, 0.5));
    }

    /* Переключатель табов */
    .login-tabs {
        display: flex;
        gap: 15px;
        margin-bottom: 35px;
        background: rgba(0, 0, 0, 0.25);
        padding: 6px;
        border-radius: 60px;
        border: 1px solid rgba(255, 255, 255, 0.04);
    }

    .tab-btn {
        flex: 1;
        padding: 14px 20px;
        border: none;
        background: transparent;
        color: #b0c5e0;
        font-size: 16px;
        font-weight: 500;
        border-radius: 50px;
        cursor: pointer;
        transition: 0.2s;
        backdrop-filter: blur(5px);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .tab-btn.active {
        background: rgba(45, 90, 170, 0.6);
        color: white;
        box-shadow: 0 4px 12px rgba(0, 30, 100, 0.4);
        border: 1px solid rgba(100, 160, 255, 0.5);
    }

    .tab-btn:hover:not(.active) {
        background: rgba(255, 255, 255, 0.06);
        color: white;
    }

    /* Формы */
    .login-form {
        display: block;
    }

    .login-form.hidden {
        display: none;
    }

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

    .form-group label {
        display: block;
        margin-bottom: 8px;
        color: #d0e0f8;
        font-size: 14px;
        font-weight: 400;
        letter-spacing: 0.3px;
        padding-left: 16px;
    }

    .input-wrapper {
        position: relative;
        display: flex;
        align-items: center;
    }

    .input-icon {
        position: absolute;
        left: 20px;
        color: #8fa9d0;
        font-size: 18px;
        pointer-events: none;
        z-index: 2;
    }

    .input-field {
        width: 100%;
        padding: 18px 24px 18px 52px;
        background: rgba(10, 15, 25, 0.6);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 40px;
        font-size: 16px;
        color: white;
        backdrop-filter: blur(5px);
        transition: 0.2s;
    }

    .input-field:focus {
        outline: none;
        border-color: rgba(100, 160, 255, 0.7);
        background: rgba(20, 28, 40, 0.7);
        box-shadow: 0 0 0 3px rgba(70, 130, 240, 0.2);
    }

    .input-field::placeholder {
        color: #5d7395;
        font-weight: 300;
    }

    .key-field {
        padding: 18px 24px;
        text-align: center;
        font-family: monospace;
        letter-spacing: 2px;
    }

    .errorlist {
        list-style: none;
        color: #ff9f9f;
        font-size: 13px;
        margin: 5px 0 0 16px;
        padding: 0;
    }

    .non-field-errors {
        background: rgba(200, 60, 60, 0.15);
        border: 1px solid rgba(255, 100, 100, 0.3);
        border-radius: 40px;
        padding: 15px 25px;
        margin-bottom: 25px;
        color: #ffc0c0;
        list-style: none;
        font-size: 14px;
    }

    .checkbox-group {
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 20px 0 30px;
        padding-left: 10px;
    }

    .checkbox-group input {
        width: 20px;
        height: 20px;
        accent-color: #3f6ed8;
        border-radius: 6px;
    }

    .checkbox-group label {
        color: #b0c3dd;
        font-size: 15px;
    }

    .login-submit {
        width: 100%;
        padding: 18px;
        background: linear-gradient(130deg, #1f4790, #3366cc);
        border: none;
        border-radius: 50px;
        color: white;
        font-size: 18px;
        font-weight: 600;
        cursor: pointer;
        transition: 0.2s;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 10px 20px -8px #001d4b;
        margin-bottom: 25px;
    }

    .login-submit:hover {
        background: linear-gradient(130deg, #295ac2, #3f78e0);
        transform: scale(1.01);
        box-shadow: 0 15px 25px -8px #002a70;
    }

    .login-footer {
        text-align: center;
        color: #8da1c0;
        font-size: 15px;
    }

    .login-footer a {
        color: #9bb9ff;
        text-decoration: none;
        border-bottom: 1px dashed #4d7dd0;
    }

    .login-footer a:hover {
        color: white;
        border-bottom-color: white;
    }

    .separator {
        display: flex;
        align-items: center;
        gap: 15px;
        margin: 25px 0;
        color: #5f779b;
        font-size: 13px;
    }

    .separator-line {
        flex: 1;
        height: 1px;
        background: rgba(255, 255, 255, 0.08);
    }

    @media (max-width: 600px) {
        .login-card {
            padding: 35px 25px;
        }
        
        .login-header h2 {
            font-size: 28px;
        }
    }
    /* ==================== МОДАЛЬНОЕ ОКНО ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    animation: modalFadeIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-card {
    background: rgba(22, 28, 38, 0.95);
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    padding: 40px 45px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 40px 60px -20px rgba(0, 0, 0, 0.9);
    position: relative;
}

.modal-card::-webkit-scrollbar {
    width: 4px;
}

.modal-card::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.modal-card::-webkit-scrollbar-thumb {
    background: rgba(100, 160, 255, 0.3);
    border-radius: 10px;
}

.modal-card::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 160, 255, 0.5);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: rotate(90deg);
}

.modal-close:active {
    transform: rotate(90deg) scale(0.9);
}

.modal-header {
    margin-bottom: 30px;
    text-align: center;
}

.modal-header h3 {
    font-size: 26px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff, #c9dbff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-header p {
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-form .field-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modal-form .field-wrapper label {
    color: #c8d6e8;
    font-size: 14px;
    font-weight: 500;
    padding-left: 4px;
}

.modal-form .form-control {
    width: 100%;
    padding: 14px 18px;
    background: rgba(10, 15, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    font-size: 15px;
    color: #ffffff;
    transition: all 0.3s ease;
    outline: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-form .form-control:focus {
    border-color: rgba(100, 160, 255, 0.5);
    background: rgba(20, 28, 40, 0.7);
    box-shadow: 0 0 0 4px rgba(100, 160, 255, 0.08);
}

.modal-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.modal-form .password-wrapper {
    position: relative;
    width: 100%;
}

.modal-form .password-wrapper .form-control {
    padding-right: 50px;
}

.modal-form .toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
    border-radius: 8px;
}

.modal-form .toggle-password:hover {
    color: rgba(255, 255, 255, 0.6);
}

.modal-form .toggle-password .eye-icon {
    width: 20px;
    height: 20px;
}

.modal-form .eye-closed {
    display: none;
}

.modal-form .toggle-password.show-password .eye-open {
    display: none;
}

.modal-form .toggle-password.show-password .eye-closed {
    display: block;
}

.modal-alert {
    padding: 12px 18px;
    border-radius: 30px;
    font-size: 14px;
    text-align: center;
    margin-bottom: 5px;
}

.modal-alert.success {
    display: block;
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.15);
}

.modal-alert.error {
    display: block;
    background: rgba(248, 113, 113, 0.1);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.15);
}

.modal-form .btn-save {
    width: 100%;
    padding: 16px;
    background: linear-gradient(130deg, #1f4790, #3366cc);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px -8px #001d4b;
    margin-top: 8px;
}

.modal-form .btn-save:hover {
    background: linear-gradient(130deg, #295ac2, #3f78e0);
    transform: scale(1.01);
    box-shadow: 0 15px 25px -8px #002a70;
}

.modal-form .btn-save:active {
    transform: scale(0.98);
}

.modal-form .btn-save:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 600px) {
    .modal-card {
        padding: 30px 24px;
        border-radius: 30px;
        max-height: 95vh;
    }

    .modal-close {
        top: 14px;
        right: 16px;
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .modal-header h3 {
        font-size: 22px;
    }

    .modal-header p {
        font-size: 14px;
    }

    .modal-form .form-control {
        padding: 12px 16px;
        font-size: 14px;
    }

    .modal-form .btn-save {
        padding: 14px;
        font-size: 16px;
    }

    .modal-form .toggle-password .eye-icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 400px) {
    .modal-card {
        padding: 24px 16px;
        border-radius: 24px;
    }

    .modal-close {
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .modal-header h3 {
        font-size: 19px;
    }

    .modal-header p {
        font-size: 13px;
    }

    .modal-form {
        gap: 16px;
    }

    .modal-form .form-control {
        padding: 10px 14px;
        font-size: 13px;
        border-radius: 24px;
    }

    .modal-form .btn-save {
        padding: 12px;
        font-size: 15px;
        border-radius: 40px;
    }

    .modal-form .toggle-password .eye-icon {
        width: 16px;
        height: 16px;
    }
}