.swal-button {
    background-color: #002eff;
    color: #fff;
    border: none;
    box-shadow: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 24px;
    margin: 0;
    cursor: pointer;
}
.swal-button:hover{
    background-color: #000;
    color: #fff;
    border: none;
    box-shadow: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 24px;
    margin: 0;
    cursor: pointer;
}
.swal-icon--warning {
    border-color: #ff0000;
    -webkit-animation: pulseWarning .75s infinite alternate;
    animation: pulseWarning .75s infinite alternate;
}
.swal-icon--warning__body, .swal-icon--warning__dot {
    position: absolute;
    left: 50%;
    background-color: #ff0000;
    -webkit-animation: pulseWarning2 .75s infinite alternate;
    animation: pulseWarning2 .75s infinite alternate;
}
@keyframes pulseWarning
{
    0%{
        border-color: #ff0000;
    }
    100%{
        border-color: transparent;
    }
}
@keyframes pulseWarning2
{
    0%{
        background-color: #ff0000;
    }
    100%{
        background-color: transparent;
    }
}

/* ========================================
   MODERN PROFILE CABINET STYLES
   ======================================== */

.profile-cabinet {
    padding: 40px 0 60px 0;
    min-height: calc(100vh - 200px);
}

/* Profile Header / Cover */
.profile-header {
    margin-bottom: 40px;
}

.profile-cover {
    background: var(--secondary-color);;
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.profile-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #002eff, #544dff, #002eff);
}

.dark-mode .profile-cover {
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
}

.profile-avatar-wrapper {
    display: inline-block;
    vertical-align: middle;
    margin-right: 25px;
}

.profile-avatar {
    position: relative;
    width: 100px;
    height: 100px;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #544dff;
    box-shadow: 0 0 20px rgba(84, 77, 255, 0.3);
}

.avatar-status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
}

.avatar-status.online {
    background-color: #2ecc71;
    box-shadow: 0 0 8px #2ecc71;
}

.profile-info {
    display: inline-block;
    vertical-align: middle;
}

.profile-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 8px 0;
}

.profile-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-vip {
    background: linear-gradient(135deg, #f1c40f, #e67e22);
    color: #000;
}

.badge-premium {
    background: linear-gradient(135deg, #FFCC00, #FFCC00);
    color: #fff;
}
.badge-platinum {
    background: linear-gradient(135deg, #7B68EE, #7B68EE);
    color: #fff;
}
.badge-admin {
    background: linear-gradient(135deg, #ee6868, #ee6868);
    color: #fff;
}

.badge-level {
    background: rgba(84, 77, 255, 0.2);
    border: 1px solid #544dff;
    color: #544dff;
}

.profile-register {
    color: #a0a0a0;
    font-size: 13px;
    margin: 0;
}

.profile-actions {
    float: right;
    margin-top: 30px;
}

.action-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    color: var(--text-color);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.logout-btn {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

.logout-btn:hover {
    background: rgba(231, 76, 60, 0.3);
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--secondary-color);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(84, 77, 255, 0.15);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #002eff, #544dff);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 28px;
    color: white;
}

.stat-content {
    flex: 1;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: #a0a0a0;
    margin-bottom: 5px;
}

.stat-value {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-color);
}

/* Profile Grid */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.grid-col {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Cards */
.card {
    background: var(--secondary-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card-header {
    padding: 18px 22px;
    border-bottom: 1px solid rgba(128, 128, 128, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header i {
    font-size: 24px;
    color: #544dff;
}

.card-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    flex: 1;
}

.season-badge {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: #000;
}

.card-body {
    padding: 20px 22px;
}

/* Info Rows */
.info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(128, 128, 128, 0.1);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: #a0a0a0;
    font-size: 14px;
}

.info-value {
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
}

/* Skills */
.skill-item {
    margin-bottom: 18px;
}

.skill-item:last-child {
    margin-bottom: 0;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.skill-name {
    color: var(--text-color);
    font-size: 13px;
}

.skill-percent {
    color: #544dff;
    font-size: 13px;
    font-weight: 600;
}

.skill-bar {
    height: 6px;
    background: rgba(128, 128, 128, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #002eff, #544dff);
    border-radius: 10px;
    transition: width 0.5s ease;
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: rgba(84, 77, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-icon i {
    font-size: 20px;
    color: #544dff;
}

.activity-content {
    flex: 1;
}

.activity-text {
    display: block;
    font-size: 13px;
    color: #a0a0a0;
}

.activity-time {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

/* Actions Grid */
.actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.action-card {
    background: rgba(84, 77, 255, 0.08);
    border-radius: 14px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.action-card:hover {
    background: rgba(84, 77, 255, 0.15);
    transform: translateY(-3px);
}

.action-card i {
    font-size: 28px;
    color: #544dff;
}

.action-card span {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-color);
}

/* Season Progress */
.season-progress {
    text-align: center;
}

.season-level {
    margin-bottom: 15px;
}

.current-level {
    font-size: 48px;
    font-weight: 800;
    color: #544dff;
}

.max-level {
    font-size: 18px;
    color: #a0a0a0;
}

.progress-bar-season {
    height: 10px;
    background: rgba(128, 128, 128, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f39c12, #e67e22);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.season-reward {
    font-size: 13px;
    color: #a0a0a0;
    margin: 0;
}

/* Responsive */
@media (max-width: 1200px) {
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-actions {
        float: none;
        margin-top: 20px;
    }
    
    .profile-info {
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .profile-cover {
        text-align: center;
        padding: 30px 20px;
    }
    
    .profile-avatar-wrapper {
        display: block;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .profile-avatar {
        margin: 0 auto;
    }
    
    .profile-badges {
        justify-content: center;
    }
    
    .stats-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .card-header {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .stat-card {
        padding: 15px;
    }
    
    .stat-value {
        font-size: 18px;
    }
    
    .card-body {
        padding: 15px;
    }
}

/* ========================================
   MODERN AUTHENTICATION STYLES
   ======================================== */

.auth-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.auth-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--secondary-color);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Left Side - Info Panel */
.auth-info {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.auth-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #002eff, #544dff, #002eff);
}

.dark-mode .auth-info {
    background: linear-gradient(135deg, #0a0a15 0%, #1a1a2e 50%, #0f0f1a 100%);
}

.auth-info-content {
    position: relative;
    z-index: 2;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
}

.auth-logo img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

.auth-logo h2 {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.auth-title {
    color: white;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.auth-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 24px;
    color: #544dff;
}

.feature-text h4 {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.feature-text p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin: 0;
}

/* Right Side - Form */
.auth-form-container {
    padding: 48px;
    background: var(--secondary-color);
}

.auth-form-wrapper {
    max-width: 400px;
    margin: 0 auto;
}

.auth-form-header {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    border-bottom: 2px solid rgba(128, 128, 128, 0.2);
}

.auth-form-tab {
    font-size: 18px;
    font-weight: 600;
    color: #a0a0a0;
    padding-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.auth-form-tab.active {
    color: #544dff;
}

.auth-form-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #544dff;
    border-radius: 2px;
}

.auth-form {
    margin-top: 8px;
}

/* Input Groups */
.input-group {
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.input-icon {
    width: 48px;
    height: 52px;
    background: rgba(84, 77, 255, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.input-icon i {
    font-size: 22px;
    color: #544dff;
}

.input-field {
    flex: 1;
    position: relative;
}

.input-field input {
    width: 100%;
    height: 52px;
    background: rgba(128, 128, 128, 0.08);
    border: 2px solid rgba(128, 128, 128, 0.15);
    border-radius: 14px;
    padding: 0 40px 0 16px;
    font-size: 15px;
    color: var(--text-color);
    transition: all 0.3s ease;
    outline: none;
}

.input-field input:focus {
    border-color: #544dff;
    background: rgba(84, 77, 255, 0.05);
}

.input-field label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0a0a0;
    font-size: 15px;
    pointer-events: none;
    transition: all 0.3s ease;
}

.input-field input:focus ~ label,
.input-field input:not(:placeholder-shown) ~ label {
    top: 0;
    font-size: 11px;
    background: var(--secondary-color);
    padding: 0 6px;
    color: #544dff;
}

.toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #a0a0a0;
    padding: 0;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #544dff;
}

.toggle-password i {
    font-size: 18px;
}

/* Auth Options */
.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
    padding-left: 28px;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    height: 18px;
    width: 18px;
    background: rgba(128, 128, 128, 0.15);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.checkbox-container:hover input ~ .checkmark {
    background: rgba(84, 77, 255, 0.2);
}

.checkbox-container input:checked ~ .checkmark {
    background: #544dff;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    font-size: 13px;
    color: #a0a0a0;
}

.forgot-link {
    font-size: 13px;
    color: #544dff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.forgot-link:hover {
    opacity: 0.8;
}

/* Submit Button */
.auth-submit-btn {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #002eff, #544dff);
    border: none;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 24px;
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(84, 77, 255, 0.4);
}

.auth-submit-btn i {
    font-size: 20px;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
}

.auth-footer p {
    color: #a0a0a0;
    font-size: 14px;
    margin: 0;
}

.auth-footer span {
    color: #544dff;
    cursor: pointer;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.auth-footer span:hover {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 992px) {
    .auth-grid {
        grid-template-columns: 1fr;
    }
    
    .auth-info {
        padding: 32px;
    }
    
    .auth-form-container {
        padding: 32px;
    }
    
    .auth-features {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .feature-item {
        flex: 1;
        min-width: 200px;
    }
}

@media (max-width: 576px) {
    .auth-section {
        padding: 30px 0;
    }
    
    .auth-info {
        padding: 24px;
    }
    
    .auth-form-container {
        padding: 24px;
    }
    
    .auth-title {
        font-size: 28px;
    }
    
    .input-group {
        gap: 8px;
    }
    
    .input-icon {
        width: 42px;
        height: 46px;
    }
    
    .input-field input {
        height: 46px;
    }
    
    .auth-options {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}

@media (max-width: 380px) {
    .auth-features {
        flex-direction: column;
    }
}

/* Стили для swal смены пароля */
.password-swal-modal .swal-content {
    padding: 0 !important;
}

.swal-password-field {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.swal-input-icon {
    width: 42px;
    height: 48px;
    background: rgba(84, 77, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swal-input-icon i {
    font-size: 20px;
    color: #544dff;
}

.swal-input-field {
    flex: 1;
    position: relative;
}

.swal-password-input {
    width: 100%;
    height: 48px;
    background: #f5f5f5;
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 0 40px 0 16px;
    font-size: 14px;
    transition: all 0.3s ease;
    outline: none;
}

.dark-mode .swal-password-input {
    background: #2a2a3e;
    border-color: #3a3a4e;
    color: #fff;
}

.swal-password-input:focus {
    border-color: #544dff;
}

.swal-input-field label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
    pointer-events: none;
    transition: all 0.3s ease;
    background: transparent;
    padding: 0;
}

.swal-password-input:focus ~ label,
.swal-password-input:not(:placeholder-shown) ~ label {
    top: 0;
    font-size: 11px;
    background: #fff;
    padding: 0 6px;
    color: #544dff;
}

.dark-mode .swal-password-input:focus ~ label,
.dark-mode .swal-password-input:not(:placeholder-shown) ~ label {
    background: #2a2a3e;
}

.swal-toggle-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 0;
}

.swal-strength {
    margin-top: 10px;
    padding-left: 54px;
}

.swal-strength-bar {
    height: 4px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.dark-mode .swal-strength-bar {
    background: #3a3a4e;
}

.swal-strength-fill {
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
}

.swal-strength-text {
    font-size: 11px;
    color: #999;
}

.change-pwd-btn {
    background: linear-gradient(135deg, #002eff, #544dff) !important;
    color: white !important;
}