        body {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('avklan.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
            color: #e0e0e0;
            margin: 0;
            padding: 0;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
.criteria-font h1,
.criteria-font h2 {
    font-family: 'Times New Roman', serif;
}



        .a {
            text-align: center; 
            font-family: "Times New Roman", Times, serif;
            font-size: large;
            padding: 1rem; 
            margin-top: 15px;
            color: #d14040;
            text-shadow: 0 0 5px rgba(209, 64, 64, 0.4);
            animation: slide-spin 2s cubic-bezier(0.34, 1.56, 0.64, 1) 1, glow-pulse 2.5s ease-in-out 2s infinite;
            font-weight: bold;
        }

        @keyframes slide-spin {
            0% {
                opacity: 0;
                transform: translateY(300vh) rotateX(90deg) scale(0);
            }
            50% {
                opacity: 0.7;
                transform: translateY(50px) rotateX(45deg) scale(0.8);
            }
            100% {
                opacity: 1;
                transform: translateY(0) rotateX(0deg) scale(1);
            }
        }

        @keyframes glow-pulse {
            0%, 100% {
                color: #d33838;
                text-shadow: 0 0 5px rgba(209, 64, 64, 0.3);
            }
            50% {
                color: #8a2929;
                text-shadow: 0 0 8px rgba(209, 64, 64, 0.4);
            }
        }

        /* ============================================ */
        /* NAVIGATION PANEL & BUTTONS */
        /* ============================================ */

        .menu-toggle {
            position: fixed;
            top: 20px;
            right: 20px;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, #c92a2a, #d64040);
            color: white;
            border: none;
            font-size: 28px;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(201, 42, 42, 0.3);
            transition: all 0.3s ease;
            z-index: 1000;
        }

        .menu-toggle:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 25px rgba(201, 42, 42, 0.4);
        }

        .menu-toggle:active {
            transform: scale(0.95);
        }

        .nav-panel {
            position: fixed;
            left: -300px;
            top: 0;
            width: 280px;
            height: 100vh;
            background: linear-gradient(180deg, rgba(20, 20, 30, 0.95), rgba(40, 20, 40, 0.95));
            backdrop-filter: blur(10px);
            border-right: 2px solid #c92a2a;
            padding-top: 80px;
            padding-bottom: 20px;
            transition: left 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            z-index: 999;
            box-shadow: inset -2px 0 20px rgba(0, 0, 0, 0.5);
        }

        .nav-panel-inner {
            max-height: calc(100vh - 100px);
            overflow-y: auto;
            overflow-x: hidden;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: thin;
        }

        .nav-panel.active {
            left: 0;
        }

        .nav-btn {
            display: flex;
            align-items: center;
            gap: 15px;
            width: 90%;
            margin: 15px auto;
            padding: 15px 20px;
            background: linear-gradient(90deg, rgba(201, 42, 42, 0.15), rgba(230, 92, 92, 0.15));
            border: 2px solid #c92a2a;
            border-radius: 10px;
            color: #ffffff;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: left;
        }

        .nav-btn:hover {
            background: linear-gradient(90deg, rgba(201, 42, 42, 0.3), rgba(230, 92, 92, 0.3));
            transform: translateX(10px);
            box-shadow: 0 0 15px rgba(201, 42, 42, 0.3);
        }

        .nav-btn.active {
            background: linear-gradient(90deg, #c92a2a, #d64040);
            box-shadow: 0 0 20px rgba(201, 42, 42, 0.4);
            transform: translateX(15px);
        }

        .nav-discord {
            border-color: #5865F2 !important;
            background: linear-gradient(90deg, rgba(88, 101, 242, 0.15), rgba(88, 101, 242, 0.1)) !important;
        }

        .nav-discord:hover {
            background: linear-gradient(90deg, rgba(88, 101, 242, 0.3), rgba(88, 101, 242, 0.25)) !important;
            box-shadow: 0 0 15px rgba(88, 101, 242, 0.4) !important;
        }

        .nav-discord.active {
            background: linear-gradient(90deg, #5865F2, #7289DA) !important;
            box-shadow: 0 0 20px rgba(88, 101, 242, 0.6) !important;
        }
 
        .nav-telegram {
            border-color: #0088cc !important;
            background: linear-gradient(90deg, rgba(0, 136, 204, 0.15), rgba(0, 136, 204, 0.1)) !important;
        }

        .nav-telegram:hover {
            background: linear-gradient(90deg, rgba(0, 136, 204, 0.3), rgba(0, 136, 204, 0.25)) !important;
            box-shadow: 0 0 15px rgba(0, 136, 204, 0.4) !important;
        }

        .nav-telegram.active {
            background: linear-gradient(90deg, #0088cc, #00a8e8) !important;
            box-shadow: 0 0 20px rgba(0, 136, 204, 0.6) !important;
        }

        /* Green theme for the Criteria nav button */
        .nav-criteria {
            border-color: #2ecc71 !important;
            background: linear-gradient(90deg, rgba(46, 204, 113, 0.15), rgba(46, 204, 113, 0.08)) !important;
        }

        .nav-criteria:hover {
            background: linear-gradient(90deg, rgba(46, 204, 113, 0.3), rgba(46, 204, 113, 0.2)) !important;
            box-shadow: 0 0 15px rgba(46, 204, 113, 0.25) !important;
        }

        .nav-criteria.active {
            background: linear-gradient(90deg, #27ae60, #2ecc71) !important;
            box-shadow: 0 0 20px rgba(46, 204, 113, 0.45) !important;
            transform: translateX(15px);
        }

        .btn-icon {
            font-size: 24px;
            min-width: 30px;
        }

        .btn-text {
            flex: 1;
        }

        .page-content {
            display: none;
            padding: 40px 20px;
            max-width: 900px;
            margin: 0 auto;
            animation: fadeIn 0.5s ease-in-out;
        }

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

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

        /* Links styling */
        a {
            color: #d64040;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s ease;
        }

        a:hover {
            color: #c92a2a;
            text-shadow: 0 0 8px rgba(201, 42, 42, 0.3);
        }

        a.link-discord {
            color: #5865F2;
            font-size: 1.2em;
            padding: 10px 15px;
            border: 2px solid #5865F2;
            border-radius: 8px;
            display: inline-block;
            background: rgba(88, 101, 242, 0.1);
            transition: all 0.3s ease;
        }

        a.link-discord:hover {
            color: #7289DA;
            background: rgba(88, 101, 242, 0.3);
            box-shadow: 0 0 15px rgba(88, 101, 242, 0.5);
            transform: scale(1.05);
            text-shadow: 0 0 10px rgba(88, 101, 242, 0.5);
        }

        a.link-telegram {
            color: #0088cc;
            font-size: 1.2em;
            padding: 10px 15px;
            border: 2px solid #0088cc;
            border-radius: 8px;
            display: inline-block;
            background: rgba(0, 136, 204, 0.1);
            transition: all 0.3s ease;
        }

        a.link-telegram:hover {
            color: #00a8e8;
            background: rgba(0, 136, 204, 0.3);
            box-shadow: 0 0 15px rgba(0, 136, 204, 0.5);
            transform: scale(1.05);
            text-shadow: 0 0 10px rgba(0, 136, 204, 0.5);
        }

        /* Headings styling */
        h1, h2, h3 {
            color: #ffffff;
            text-shadow: 0 0 8px rgba(201, 42, 42, 0.2);
            font-family: "Arial", sans-serif;
            font-weight: bold;
            margin-top: 30px;
            margin-bottom: 15px;
        }

        h1 {
            font-size: 2.5em;
            border-bottom: 2px solid #c92a2a;
            padding-bottom: 10px;
            animation: glow-pulse 3s ease-in-out infinite;
        }

        h2 {
            font-size: 2em;
            color: #d64040;
        }
        h3 {
            font-size: 1.5em;
            color: #e55c5c;
        }
        p {
            color: #d0d0d0;
            font-size: 1.1em;
            line-height: 1.6;
            margin: 15px 0;
            text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
        }

        /* Criteria card styling */
        .criteria-card {
            margin-top: 20px;
            padding: 18px 20px;
            background: linear-gradient(180deg, rgba(15, 60, 30, 0.9), rgba(20, 80, 40, 0.85));
            border: 1px solid rgba(34, 139, 34, 0.18);
            border-left: 6px solid #2ecc71;
            border-radius: 10px;
            box-shadow: 0 8px 30px rgba(34, 139, 34, 0.08);
            max-width: 820px;
            color: #eafff0;
            font-family: "Times New Roman", Times, serif;
        }

        .criteria-card h2 {
            margin: 0 0 8px 0;
            color: #e6fff0;
            font-size: 1.4em;
            text-shadow: 0 2px 6px rgba(8, 40, 20, 0.6);
        }

        .criteria-card ul {
            margin: 0;
            padding-left: 1.1em;
            color: #dfffee;
        }

        .criteria-card li {
            margin: 6px 0;
        }

        /* ============================================ */
        /* TICKETS CHANNEL CARD (отдельная вкладка тикетов) */
        /* ============================================ */

        .ticket-channel-card {
            max-width: 720px;
            background: linear-gradient(180deg, rgba(40, 38, 45, 0.95), rgba(35, 33, 40, 0.95));
            border-radius: 12px;
            padding: 24px 28px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
        }

        .ticket-channel-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 16px;
        }

        .ticket-channel-badge {
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: rgba(255, 255, 255, 0.5);
            background: rgba(255, 255, 255, 0.06);
            padding: 4px 10px;
            border-radius: 4px;
        }

        .ticket-channel-title {
            margin: 0;
            font-size: 1.5rem;
            font-weight: 600;
            color: #e0e0e0;
        }

        .ticket-channel-desc {
            color: rgba(255, 255, 255, 0.75);
            line-height: 1.55;
            margin: 0 0 20px 0;
            font-size: 15px;
        }

        .ticket-auth-inline {
            margin-bottom: 16px;
        }

        .ticket-submit-block {
            margin: 20px 0;
        }

        .ticket-submit-block .tickets-instruction {
            color: rgba(255, 255, 255, 0.6);
            font-size: 14px;
            margin-bottom: 12px;
        }

        .ticket-create-btn {
            display: inline-flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 2px;
            padding: 14px 22px;
            background: linear-gradient(135deg, #5865F2, #4752c4);
            color: #fff;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            box-shadow: 0 2px 12px rgba(88, 101, 242, 0.35);
        }

        .ticket-create-btn:hover:not(:disabled) {
            background: linear-gradient(135deg, #6772f5, #5865F2);
            transform: translateY(-1px);
            box-shadow: 0 4px 16px rgba(88, 101, 242, 0.45);
        }

        .ticket-create-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .ticket-create-btn-icon {
            font-size: 20px;
        }

        .ticket-create-btn-text {
            font-size: 16px;
        }

        .ticket-create-btn-sub {
            font-size: 12px;
            font-weight: 400;
            opacity: 0.9;
        }

        .ticket-channel-footer {
            margin-top: 24px;
            padding-top: 16px;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
        }

        .ticket-rules-label {
            color: rgba(255, 255, 255, 0.6);
            font-size: 14px;
            margin: 0 0 4px 0;
        }

        .ticket-rules-link {
            color: #5865F2;
            text-decoration: none;
        }

        .ticket-rules-link:hover {
            text-decoration: underline;
        }

        .ticket-rules-sublabel {
            color: rgba(255, 255, 255, 0.45);
            font-size: 12px;
            margin: 0 0 12px 0;
        }

        .ticket-dev-link {
            display: inline-block;
            color: #0088cc;
            text-decoration: none;
            font-size: 14px;
        }

        .ticket-dev-link:hover {
            text-decoration: underline;
        }

        .ticket-channel-card .tickets-note {
            margin-top: 16px;
            color: rgba(255, 255, 255, 0.5);
            font-size: 13px;
        }

        /* ============================================ */
        /* NEWS NAV BUTTON */
        /* ============================================ */

        .nav-news {
            border-color: #f39c12 !important;
            background: linear-gradient(90deg, rgba(243, 156, 18, 0.15), rgba(243, 156, 18, 0.08)) !important;
        }

        .nav-news:hover {
            background: linear-gradient(90deg, rgba(243, 156, 18, 0.3), rgba(243, 156, 18, 0.2)) !important;
            box-shadow: 0 0 15px rgba(243, 156, 18, 0.25) !important;
        }

        .nav-news.active {
            background: linear-gradient(90deg, #e67e22, #f39c12) !important;
            box-shadow: 0 0 20px rgba(243, 156, 18, 0.45) !important;
            transform: translateX(15px);
        }

        /* ============================================ */
        /* ADMIN NAV BUTTON */
        /* ============================================ */

        .nav-admin {
            border-color: #e74c3c !important;
            background: linear-gradient(90deg, rgba(231, 76, 60, 0.15), rgba(231, 76, 60, 0.08)) !important;
        }

        .nav-admin:hover {
            background: linear-gradient(90deg, rgba(231, 76, 60, 0.3), rgba(231, 76, 60, 0.2)) !important;
            box-shadow: 0 0 15px rgba(231, 76, 60, 0.25) !important;
        }

        .nav-admin.active {
            background: linear-gradient(90deg, #c0392b, #e74c3c) !important;
            box-shadow: 0 0 20px rgba(231, 76, 60, 0.45) !important;
            transform: translateX(15px);
        }

        /* ============================================ */
        /* NEWS CARDS */
        /* ============================================ */

        .news-card {
            background: linear-gradient(180deg, rgba(50, 40, 10, 0.9), rgba(60, 45, 15, 0.85));
            border: 1px solid rgba(243, 156, 18, 0.2);
            border-left: 5px solid #f39c12;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 20px;
        }

        .news-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 10px;
            flex-wrap: wrap;
            gap: 10px;
        }

        .news-title {
            margin: 0;
            color: #f5d78e;
            font-size: 1.3em;
            flex: 1;
        }

        .news-meta {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .news-date {
            color: #a89060;
            font-size: 0.9em;
        }

        .news-edit-btn {
            background: rgba(52, 152, 219, 0.2);
            border: 1px solid #3498db;
            color: #3498db;
            padding: 5px 10px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 0.9em;
            transition: all 0.3s ease;
        }

        .news-edit-btn:hover {
            background: #3498db;
            color: #fff;
        }

        .news-delete-btn {
            background: rgba(231, 76, 60, 0.2);
            border: 1px solid #e74c3c;
            color: #e74c3c;
            padding: 5px 10px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 0.9em;
            transition: all 0.3s ease;
        }

        .news-delete-btn:hover {
            background: #e74c3c;
            color: #fff;
        }

        .news-text {
            color: #ddd;
            margin: 0;
            line-height: 1.6;
        }

        .no-news {
            color: #888;
            text-align: center;
            padding: 40px;
        }

        /* ============================================ */
        /* ADMIN PANEL STYLES */
        /* ============================================ */

        .admin-card {
            background: linear-gradient(180deg, rgba(40, 40, 50, 0.95), rgba(30, 30, 40, 0.9));
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-left: 5px solid #e74c3c;
            border-radius: 10px;
            padding: 25px;
            max-width: 500px;
        }

        .admin-card h2 {
            margin-top: 0;
            margin-bottom: 20px;
            font-size: 1.3em;
            color: #fff;
        }

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

        .form-group label {
            display: block;
            color: #ddd;
            font-size: 1em;
            font-weight: bold;
            margin-bottom: 8px;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 12px 15px;
            font-size: 1em;
            border: 2px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            background: rgba(0, 0, 0, 0.4);
            color: #fff;
            transition: all 0.3s ease;
            box-sizing: border-box;
            font-family: inherit;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #e74c3c;
            box-shadow: 0 0 10px rgba(231, 76, 60, 0.3);
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: rgba(255, 255, 255, 0.4);
        }

        .checkbox-group {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 20px;
        }

        .checkbox-group input[type="checkbox"] {
            width: 18px;
            height: 18px;
            cursor: pointer;
        }

        .checkbox-group label {
            color: #ddd;
            cursor: pointer;
        }

        .submit-btn {
            width: 100%;
            padding: 14px 20px;
            font-size: 1.1em;
            font-weight: bold;
            color: #fff;
            background: linear-gradient(135deg, #c0392b, #e74c3c);
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 25px rgba(231, 76, 60, 0.4);
        }

        .submit-btn.secondary {
            background: linear-gradient(135deg, #2c3e50, #34495e);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        .submit-btn.secondary:hover {
            box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
        }

        .logout-btn {
            padding: 10px 20px;
            background: rgba(231, 76, 60, 0.2);
            border: 1px solid #e74c3c;
            color: #e74c3c;
            border-radius: 8px;
            cursor: pointer;
            margin-bottom: 20px;
            font-weight: bold;
            transition: all 0.3s ease;
        }

        .logout-btn:hover {
            background: #e74c3c;
            color: #fff;
        }

        .form-note {
            font-size: 0.85em;
            color: #888;
            margin-top: 10px;
        }

        /* ============================================ */
        /* MODAL STYLES */
        /* ============================================ */

        .modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 2000;
            backdrop-filter: blur(5px);
        }

        .modal-content {
            background: linear-gradient(180deg, rgba(40, 40, 50, 0.98), rgba(25, 25, 35, 0.98));
            border: 2px solid #3498db;
            border-radius: 15px;
            padding: 30px;
            max-width: 500px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            box-shadow: 0 10px 50px rgba(52, 152, 219, 0.3);
            animation: modalAppear 0.3s ease-out;
        }

        @keyframes modalAppear {
            from {
                opacity: 0;
                transform: scale(0.9) translateY(-20px);
            }
            to {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }

        .modal-content h2 {
            margin-top: 0;
            margin-bottom: 25px;
            color: #3498db;
            border-bottom: 2px solid #3498db;
            padding-bottom: 10px;
        }

        .modal-close {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 30px;
            color: #888;
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .modal-close:hover {
            color: #e74c3c;
        }

        .ticket-modal-content {
            max-width: 560px;
        }
        .ticket-detail-info {
            margin-bottom: 12px;
            padding: 10px;
            background: rgba(0,0,0,0.2);
            border-radius: 8px;
            font-size: 0.9rem;
        }
        .ticket-messages-container {
            max-height: 320px;
            overflow-y: auto;
            margin-bottom: 16px;
            border: 1px solid rgba(52, 152, 219, 0.3);
            border-radius: 8px;
            padding: 12px;
            background: rgba(0,0,0,0.15);
        }
        .ticket-messages-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .ticket-msg {
            padding: 10px 12px;
            border-radius: 8px;
            max-width: 95%;
            word-break: break-word;
        }
        .ticket-msg.user {
            align-self: flex-start;
            background: rgba(52, 152, 219, 0.2);
            border-left: 3px solid #3498db;
        }
        .ticket-msg.staff {
            align-self: flex-end;
            background: rgba(46, 204, 113, 0.2);
            border-right: 3px solid #2ecc71;
        }
        .ticket-msg-meta {
            font-size: 0.75rem;
            color: #888;
            margin-bottom: 4px;
        }
        .ticket-reply-block textarea {
            width: 100%;
            margin-bottom: 10px;
            resize: vertical;
            min-height: 60px;
        }
        .ticket-no-messages {
            color: #888;
            font-size: 0.9rem;
            margin: 0;
        }

        /* ============================================ */
        /* APPLICATION NAV BUTTONS */
        /* ============================================ */

        .nav-apply {
            border-color: #9b59b6 !important;
            background: linear-gradient(90deg, rgba(155, 89, 182, 0.15), rgba(155, 89, 182, 0.08)) !important;
        }

        .nav-apply:hover {
            background: linear-gradient(90deg, rgba(155, 89, 182, 0.3), rgba(155, 89, 182, 0.2)) !important;
            box-shadow: 0 0 15px rgba(155, 89, 182, 0.25) !important;
        }

        .nav-apply.active {
            background: linear-gradient(90deg, #8e44ad, #9b59b6) !important;
            box-shadow: 0 0 20px rgba(155, 89, 182, 0.45) !important;
        }

        .nav-mystatus {
            border-color: #1abc9c !important;
            background: linear-gradient(90deg, rgba(26, 188, 156, 0.15), rgba(26, 188, 156, 0.08)) !important;
        }

        .nav-mystatus:hover {
            background: linear-gradient(90deg, rgba(26, 188, 156, 0.3), rgba(26, 188, 156, 0.2)) !important;
            box-shadow: 0 0 15px rgba(26, 188, 156, 0.25) !important;
        }

        .nav-mystatus.active {
            background: linear-gradient(90deg, #16a085, #1abc9c) !important;
            box-shadow: 0 0 20px rgba(26, 188, 156, 0.45) !important;
        }

        /* ============================================ */
        /* APPLICATION STATUS CARDS */
        /* ============================================ */

        .status-card {
            background: linear-gradient(180deg, rgba(40, 40, 50, 0.95), rgba(30, 30, 40, 0.9));
            border-radius: 15px;
            padding: 25px;
            max-width: 500px;
        }

        .status-card.status-none {
            border-left: 5px solid #888;
        }

        .status-card.status-pending {
            border-left: 5px solid #f39c12;
        }

        .status-card.status-in_review {
            border-left: 5px solid #3498db;
        }

        .status-card.status-accepted {
            border-left: 5px solid #2ecc71;
        }

        .status-card.status-rejected {
            border-left: 5px solid #e74c3c;
        }

        .status-card.status-discord {
            border-left: 5px solid #5865F2;
        }

        .status-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }

        .status-icon {
            font-size: 2em;
        }

        .status-text {
            font-size: 1.5em;
            font-weight: bold;
            color: #fff;
        }

        .status-details p {
            margin: 10px 0;
            color: #ccc;
        }

        .status-details a {
            color: #3498db;
        }

        .admin-message {
            background: rgba(255,255,255,0.05);
            padding: 10px 15px;
            border-radius: 8px;
            margin-top: 15px !important;
        }

        /* ============================================ */
        /* ADMIN APPLICATION CARDS */
        /* ============================================ */

        .admin-application-card {
            background: linear-gradient(180deg, rgba(50, 50, 60, 0.9), rgba(40, 40, 50, 0.85));
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 15px;
        }

        .app-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .app-date {
            color: #888;
            font-size: 0.9em;
        }

        .app-info p {
            margin: 8px 0;
            color: #ccc;
        }

        .app-info a {
            color: #3498db;
        }

        .app-actions {
            display: flex;
            gap: 10px;
            margin-top: 15px;
            flex-wrap: wrap;
        }

        .action-btn {
            padding: 8px 15px;
            border-radius: 6px;
            border: none;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.3s ease;
        }

        .view-btn {
            background: rgba(52, 152, 219, 0.2);
            color: #3498db;
            border: 1px solid #3498db;
        }
        .view-btn:hover {
            background: #3498db;
            color: #fff;
        }

        .accept-btn {
            background: rgba(46, 204, 113, 0.2);
            color: #2ecc71;
            border: 1px solid #2ecc71;
        }

        .accept-btn:hover {
            background: #2ecc71;
            color: #fff;
        }

        .reject-btn {
            background: rgba(231, 76, 60, 0.2);
            color: #e74c3c;
            border: 1px solid #e74c3c;
        }

        .reject-btn:hover {
            background: #e74c3c;
            color: #fff;
        }

        .discord-btn {
            background: rgba(88, 101, 242, 0.2);
            color: #5865F2;
            border: 1px solid #5865F2;
        }

        .discord-btn:hover {
            background: #5865F2;
            color: #fff;
        }

        .review-btn {
            background: rgba(52, 152, 219, 0.2);
            color: #3498db;
            border: 1px solid #3498db;
        }

        .review-btn:hover {
            background: #3498db;
            color: #fff;
        }

        .delete-btn {
            background: rgba(150, 150, 150, 0.2);
            color: #999;
            border: 1px solid #666;
            margin-top: 10px;
        }

        .delete-btn:hover {
            background: #666;
            color: #fff;
        }

        .ban-btn {
            background: rgba(230, 126, 34, 0.2);
            color: #e67e22;
            border: 1px solid #e67e22;
        }
        .ban-btn:hover {
            background: #e67e22;
            color: #fff;
        }
        .ticket-banned-label {
            color: #e67e22;
            font-size: 0.85rem;
            margin: 6px 0 0 0;
        }

        /* Модальное окно запрета тикетов */
        .ticket-ban-user-info {
            margin: 0 0 12px 0;
            color: #b0b0b0;
        }
        #ticket-ban-modal .radio-group {
            display: flex;
            gap: 16px;
            margin: 8px 0;
        }
        #ticket-ban-modal .radio-group label {
            display: flex;
            align-items: center;
            gap: 6px;
            cursor: pointer;
        }
        .ticket-ban-duration-block select,
        .ticket-ban-datetime {
            margin-top: 8px;
            padding: 8px;
            width: 100%;
            max-width: 280px;
            box-sizing: border-box;
        }
        #ticket-ban-modal .modal-actions {
            display: flex;
            gap: 12px;
            margin-top: 16px;
            flex-wrap: wrap;
        }

        /* Badges */
        .badge {
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 0.85em;
            font-weight: bold;
        }

        .badge-pending {
            background: rgba(243, 156, 18, 0.2);
            color: #f39c12;
        }

        .badge-in_review {
            background: rgba(52, 152, 219, 0.2);
            color: #3498db;
        }

        .badge-accepted {
            background: rgba(46, 204, 113, 0.2);
            color: #2ecc71;
        }

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

        .badge-discord {
            background: rgba(88, 101, 242, 0.2);
            color: #5865F2;
        }

        .no-applications {
            color: #888;
            text-align: center;
            padding: 20px;
        }

        .error {
            color: #e74c3c;
        }

        /* Form select */
        .form-group select {
            width: 100%;
            padding: 12px 15px;
            font-size: 1em;
            border: 2px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            background: rgba(0, 0, 0, 0.4);
            color: #fff;
            cursor: pointer;
        }

        .form-group select:focus {
            outline: none;
            border-color: #9b59b6;
            box-shadow: 0 0 10px rgba(155, 89, 182, 0.3);
        }

        .form-group select option {
            background: #2a2a3a;
            color: #fff;
        }

        /* ============================================ */
        /* GIVEAWAYS NAV BUTTON */
        /* ============================================ */

        .nav-giveaways {
            border-color: #e91e63 !important;
            background: linear-gradient(90deg, rgba(233, 30, 99, 0.15), rgba(233, 30, 99, 0.08)) !important;
        }

        .nav-giveaways:hover {
            background: linear-gradient(90deg, rgba(233, 30, 99, 0.3), rgba(233, 30, 99, 0.2)) !important;
            box-shadow: 0 0 15px rgba(233, 30, 99, 0.25) !important;
        }

        .nav-giveaways.active {
            background: linear-gradient(90deg, #c2185b, #e91e63) !important;
            box-shadow: 0 0 20px rgba(233, 30, 99, 0.45) !important;
        }

        /* ============================================ */
        /* DISCORD AUTH */
        /* ============================================ */

        .discord-auth-container {
            margin-bottom: 25px;
        }

        .discord-login-btn {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 25px;
            background: #5865F2;
            color: #fff;
            border: none;
            border-radius: 8px;
            font-size: 1em;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .discord-login-btn:hover {
            background: #4752c4;
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(88, 101, 242, 0.4);
        }

        .discord-user {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 15px;
            background: rgba(88, 101, 242, 0.1);
            border: 1px solid rgba(88, 101, 242, 0.3);
            border-radius: 10px;
        }

        .discord-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
        }

        .discord-username {
            font-weight: bold;
            color: #fff;
        }

        .member-badge {
            background: rgba(46, 204, 113, 0.2);
            color: #2ecc71;
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 0.85em;
        }

        .not-member-badge {
            background: rgba(231, 76, 60, 0.2);
            color: #e74c3c;
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 0.85em;
        }

        .discord-logout-btn {
            margin-left: auto;
            padding: 6px 12px;
            background: transparent;
            border: 1px solid #666;
            color: #888;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .discord-logout-btn:hover {
            background: rgba(255,255,255,0.1);
            color: #fff;
        }

        /* ============================================ */
        /* GIVEAWAY CARDS */
        /* ============================================ */

        .giveaway-card {
            background: linear-gradient(180deg, rgba(233, 30, 99, 0.15), rgba(233, 30, 99, 0.08));
            border: 1px solid rgba(233, 30, 99, 0.3);
            border-left: 5px solid #e91e63;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 20px;
        }

        .giveaway-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }

        .giveaway-prize {
            font-size: 1.4em;
            font-weight: bold;
            color: #fff;
        }

        .giveaway-date {
            color: #888;
            font-size: 0.9em;
        }

        .giveaway-draw-date {
            color: #b0b0b0;
            font-size: 0.95em;
        }

        .giveaway-desc-label {
            color: #999;
            font-size: 0.85em;
            margin: 10px 0 4px 0;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .giveaway-desc {
            color: #bbb;
            margin-bottom: 15px;
        }

        .giveaway-stats {
            display: flex;
            gap: 20px;
            color: #999;
            margin-bottom: 15px;
            font-size: 0.95em;
        }

        .giveaway-action .submit-btn {
            width: auto;
            padding: 10px 25px;
        }

        .giveaway-action .submit-btn.participated {
            background: linear-gradient(135deg, #27ae60, #2ecc71);
            cursor: default;
        }

        .giveaway-action .participated-row {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        .giveaway-action .leave-btn {
            background: linear-gradient(135deg, #7f8c8d, #95a5a6);
            font-size: 0.95em;
            padding: 8px 18px;
        }

        .giveaway-action .leave-btn:hover {
            background: linear-gradient(135deg, #95a5a6, #bdc3c7);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .not-member-warning {
            color: #e74c3c;
            margin-bottom: 10px;
        }

        .no-giveaways {
            color: #888;
            text-align: center;
            padding: 40px;
        }

        /* Admin giveaway card */
        .admin-giveaway-card {
            background: rgba(233, 30, 99, 0.1);
            border: 1px solid rgba(233, 30, 99, 0.2);
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 10px;
        }
