@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
    min-height: 100vh;
    direction: ltr;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(96, 165, 250, 0.1);
    background: rgba(15, 23, 42, 0.6);
    gap: 1.5rem;
    overflow: visible;
}

.navbar .nav-links,
.navbar .nav-right {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    overflow: visible;
}

.dropdown {
    position: relative;
}

.dropdown-btn {
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    font-size: inherit;
    color: #94a3b8;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dropdown-btn:hover {
    color: #e2e8f0;
    background: rgba(96, 165, 250, 0.1);
}

.dropdown-arrow {
    font-size: 0.7rem;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: 10px;
    padding: 0.4rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    backdrop-filter: blur(12px);
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 0.5rem 0.8rem;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.dropdown-item:hover {
    background: rgba(96, 165, 250, 0.1);
    color: #e2e8f0;
}

.dropdown-username {
    display: block;
    padding: 0.4rem 0.8rem 0.2rem;
    color: #60a5fa;
    font-weight: 600;
    font-size: 0.85rem;
}

.dropdown-credits {
    display: block;
    padding: 0 0.8rem 0.4rem;
    color: #fbbf24;
    font-size: 0.75rem;
}

.dropdown-divider {
    height: 1px;
    background: rgba(96, 165, 250, 0.1);
    margin: 0.3rem 0;
}

.nav-links {
    display: flex;
    gap: 0.25rem;
}

.nav-right {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-credits {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #fbbf24;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(251, 191, 36, 0.15);
    text-decoration: none;
    transition: all 0.15s ease;
}

.nav-credits:hover {
    background: rgba(251, 191, 36, 0.2);
    border-color: rgba(251, 191, 36, 0.3);
}

.auth-form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.auth-alt {
    text-align: center;
    margin-top: 1rem;
    color: #94a3b8;
    font-size: 0.9rem;
}

.auth-alt a {
    color: #60a5fa;
    text-decoration: none;
}

.auth-alt a:hover {
    text-decoration: underline;
}

.profile-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.8));
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    min-height: 120px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(96, 165, 250, 0.1);
    position: relative;
    overflow: hidden;
}

.profile-card.has-cover {
    padding-top: 100px;
}

.profile-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 130px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    filter: blur(1px);
}

.profile-cover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.85));
    pointer-events: none;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(96, 165, 250, 0.06), transparent 60%);
    pointer-events: none;
}

.profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #7c3aed);
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
    position: relative;
    z-index: 1;
}

.profile-avatar-img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
    position: relative;
    z-index: 1;
    border: 2px solid rgba(96, 165, 250, 0.2);
}

.profile-info {
    position: relative;
    z-index: 1;
}

.profile-info h3 {
    font-size: 1.5rem;
    color: #f1f5f9;
    margin-bottom: 0.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.profile-email {
    color: #94a3b8;
    font-size: 0.9rem;
}

.profile-stats {
    color: #60a5fa;
    font-size: 0.85rem;
    margin-top: 0.4rem;
    font-weight: 500;
    display: inline-block;
    background: rgba(96, 165, 250, 0.1);
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
}

.profile-columns {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.profile-columns + .profile-columns {
    margin-top: 1rem;
}

.profile-col {
    flex: 1;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(96, 165, 250, 0.1);
    border-radius: 12px;
    padding: 1.2rem;
}

.profile-col-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(96, 165, 250, 0.1);
}

.profile-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    font-size: 0.9rem;
}

.profile-stat-label {
    color: #94a3b8;
}

.profile-stat-value {
    color: #e2e8f0;
    font-weight: 500;
}

.profile-stat-link {
    color: #60a5fa;
    text-decoration: none;
    font-size: 0.85rem;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-stat-link:hover {
    text-decoration: underline;
}

.mini-paste-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    text-decoration: none;
    border-bottom: 1px solid rgba(96, 165, 250, 0.06);
    transition: all 0.15s ease;
}

.mini-paste-item:last-child {
    border-bottom: none;
}

.mini-paste-item:hover {
    padding-left: 0.3rem;
}

.mini-paste-title {
    color: #e2e8f0;
    font-size: 0.85rem;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 180px;
}

.mini-paste-meta {
    color: #64748b;
    font-size: 0.78rem;
    flex-shrink: 0;
}

.nav-link {
    color: #94a3b8;
    text-decoration: none;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: #e2e8f0;
    background: rgba(96, 165, 250, 0.1);
}

.nav-link.active {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.12);
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2.5rem 1rem;
    flex: 1;
}

header {
    text-align: center;
    margin-bottom: 2.5rem;
}

header h1 {
    font-size: 2.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

header h1 a {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.subtitle {
    color: #94a3b8;
    margin-top: 0.4rem;
    font-size: 1.05rem;
    font-weight: 400;
}

.view-header {
    position: relative;
    text-align: center;
    margin-bottom: 1.8rem;
}

.view-header-title {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #f1f5f9 0%, #60a5fa 50%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.view-header-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.3), rgba(167, 139, 250, 0.3), transparent);
    margin: 0.7rem auto 0;
    max-width: 300px;
    border-radius: 2px;
}

.page-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.page-title {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.header-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.4), rgba(167, 139, 250, 0.4), transparent);
    margin: 0.6rem auto 0;
    max-width: 500px;
    border-radius: 2px;
}

.paste-form {
    width: 100%;
    margin: 0;
}

.form-columns {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.form-left {
    flex: 0 0 320px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    height: fit-content;
}

.form-right {
    flex: 1;
    display: flex;
    height: 500px;
}

.editor-wrapper {
    flex: 1;
    display: flex;
    position: relative;
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(12px);
}

.editor-wrapper:focus-within {
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1), 0 8px 32px rgba(0, 0, 0, 0.3);
}

.line-numbers {
    padding: 1.2rem 0.5rem 0 0.5rem;
    text-align: right;
    color: #475569;
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.75rem;
    line-height: 1.98;
    overflow: hidden;
    user-select: none;
    width: 4rem;
    white-space: pre;
    border-right: 1px solid rgba(96, 165, 250, 0.08);
    background: rgba(15, 23, 42, 0.4);
    flex-shrink: 0;
}

.form-right textarea {
    flex: 1;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 1.2rem 1.2rem 1.2rem 0.8rem;
    color: #e2e8f0;
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.9rem;
    resize: none;
    outline: none;
    line-height: 1.65;
    overflow: auto;
}

.form-right textarea::placeholder {
    color: #475569;
}

.input-title {
    flex: 1;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: 10px;
    padding: 0.7rem 1rem;
    color: #e2e8f0;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.25s ease;
}

.input-title::placeholder {
    color: #64748b;
}

.input-title:focus {
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
    background: rgba(15, 23, 42, 0.9);
}

.input-syntax {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: 10px;
    padding: 0.7rem 1rem;
    color: #e2e8f0;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    cursor: pointer;
    transition: all 0.25s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 0.8rem center;
    padding-left: 2.2rem;
}

.input-syntax:focus,
.input-expire:focus,
.input-visibility:focus {
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.input-expire {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: 10px;
    padding: 0.7rem 1rem;
    color: #e2e8f0;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    cursor: pointer;
    transition: all 0.25s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 0.8rem center;
    padding-left: 2.2rem;
}

.input-visibility {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: 10px;
    padding: 0.7rem 1rem;
    color: #e2e8f0;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    cursor: pointer;
    transition: all 0.25s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 0.8rem center;
    padding-left: 2.2rem;
}

.password-field {
    display: none;
}

.input-password {
    width: 100%;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: 10px;
    padding: 0.7rem 1rem;
    color: #e2e8f0;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.25s ease;
}

.input-password::placeholder {
    color: #64748b;
}

.input-password:focus {
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(135deg, #3b82f6, #7c3aed);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.35);
}

.btn-submit:active {
    transform: translateY(0);
}

.alert {
    padding: 0.9rem 1.2rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 0.95rem;
}

.alert.success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
    backdrop-filter: blur(4px);
}

.alert.success a {
    color: #60a5fa;
    font-weight: 500;
}

.alert.error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    backdrop-filter: blur(4px);
}

.paste-header {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-bottom: none;
    border-radius: 16px 16px 0 0;
    padding: 1.2rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.paste-header h2 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #f1f5f9;
}

.paste-meta {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    font-size: 0.85rem;
    color: #94a3b8;
}

.badge-private {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 6px;
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.badge-public {
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.25);
    border-radius: 6px;
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.password-form-wrapper {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: 0 0 16px 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.password-form label {
    display: block;
    margin-bottom: 1rem;
    color: #94a3b8;
    font-size: 0.95rem;
}

.input-password-page {
    width: 100%;
    max-width: 360px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: 10px;
    padding: 0.7rem 1rem;
    color: #e2e8f0;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.25s ease;
    margin: 0 auto 1rem;
    display: block;
    text-align: center;
}

.input-password-page::placeholder {
    color: #64748b;
}

.input-password-page:focus {
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.password-form .btn-submit {
    max-width: 360px;
    margin: 0 auto;
}

.btn-copy {
    margin-left: auto;
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 8px;
    padding: 0.35rem 1rem;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: all 0.25s ease;
}

.btn-copy:hover {
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(96, 165, 250, 0.4);
}

pre {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-top: none;
    border-radius: 0 0 16px 16px;
    padding: 1.3rem 1.5rem;
    overflow-x: auto;
    max-height: 650px;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

pre::-webkit-scrollbar {
    height: 8px;
    width: 8px;
}

pre::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
    border-radius: 4px;
}

pre::-webkit-scrollbar-thumb {
    background: rgba(96, 165, 250, 0.25);
    border-radius: 4px;
}

pre::-webkit-scrollbar-thumb:hover {
    background: rgba(96, 165, 250, 0.4);
}

code {
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.85rem;
    line-height: 1.7;
}

.footer {
    margin-top: 3rem;
    padding-bottom: 2rem;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.3), transparent);
    margin-bottom: 1.5rem;
}

.footer-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.footer-brand {
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-version {
    color: #64748b;
    font-size: 0.8rem;
    font-family: 'JetBrains Mono', monospace;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 0.3rem;
}

.footer-social a {
    color: #64748b;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(96, 165, 250, 0.1);
    font-size: 1.1rem;
    text-decoration: none;
}

.footer-social a:hover {
    background: rgba(30, 41, 59, 0.8);
    transform: translateY(-2px);
}

.footer-telegram:hover {
    color: #0088cc !important;
    border-color: #0088cc !important;
}

.footer-discord:hover {
    color: #5865f2 !important;
    border-color: #5865f2 !important;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0 auto 1.5rem;
    max-width: 500px;
}

.search-input {
    flex: 1;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: 10px;
    padding: 0.7rem 1rem;
    color: #e2e8f0;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.25s ease;
}

.search-input::placeholder {
    color: #64748b;
}

.search-input:focus {
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.search-info {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.search-info strong {
    color: #60a5fa;
}

.table-wrapper {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.pastes-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.pastes-table th {
    text-align: left;
    padding: 0.8rem 1rem;
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(15, 23, 42, 0.5);
    border-bottom: 1px solid rgba(96, 165, 250, 0.1);
}

.pastes-table td {
    padding: 0.7rem 1rem;
    border-bottom: 1px solid rgba(96, 165, 250, 0.06);
    color: #cbd5e1;
}

.pastes-table tbody tr {
    cursor: pointer;
    transition: background 0.15s ease;
}

.pastes-table tbody tr:hover {
    background: rgba(96, 165, 250, 0.06);
}

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

.td-rank {
    color: #60a5fa;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    width: 2rem;
    text-align: center;
}

.td-paste {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.td-title {
    color: #e2e8f0;
    font-weight: 500;
}

.td-syntax {
    color: #60a5fa;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.td-views {
    color: #94a3b8;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
}

.td-creator {
    color: #94a3b8;
}

.td-muted {
    color: #475569;
}

.td-time {
    color: #64748b;
    font-size: 0.85rem;
    white-space: nowrap;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.page-link {
    color: #94a3b8;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(96, 165, 250, 0.1);
    transition: all 0.2s ease;
}

.page-link:hover {
    color: #e2e8f0;
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(96, 165, 250, 0.25);
}

.page-link.active {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.12);
    border-color: rgba(96, 165, 250, 0.25);
}

.view-columns {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.view-sidebar {
    flex: 0 0 280px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.8));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 20px;
    padding: 1.5rem 1.5rem 1.2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(96, 165, 250, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    height: fit-content;
    position: relative;
    overflow: hidden;
}

.view-sidebar-glow {
    position: absolute;
    top: -40%;
    left: -30%;
    width: 160%;
    height: 120%;
    background: radial-gradient(ellipse at 30% 20%, rgba(96, 165, 250, 0.08), transparent 60%);
    pointer-events: none;
}

.view-user {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
    padding: 0.5rem 0 0.3rem;
    position: relative;
    z-index: 1;
}

.view-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25), 0 4px 20px rgba(59, 130, 246, 0.3);
    position: relative;
}

.view-avatar::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
    z-index: -1;
}

.view-avatar span {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.view-avatar-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25), 0 4px 20px rgba(59, 130, 246, 0.3);
    border: 2px solid rgba(96, 165, 250, 0.2);
}

.view-username {
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f1f5f9, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.view-username:hover {
    opacity: 0.8;
}

.view-username-guest {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #94a3b8 !important;
    color: #94a3b8 !important;
}

.view-user-badge {
    font-size: 0.65rem;
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 20px;
    padding: 0.1rem 0.6rem;
    display: inline-block;
    width: fit-content;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.view-user-contacts {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.5rem;
    justify-content: center;
}

.view-contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 8px;
    background: rgba(96, 165, 250, 0.08);
    border: 1px solid rgba(96, 165, 250, 0.1);
    color: #94a3b8;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.15s ease;
}

.view-contact-link:hover {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.15);
    border-color: rgba(96, 165, 250, 0.2);
}

.view-contact-discord {
    cursor: default;
}

.view-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(96, 165, 250, 0.2), rgba(167, 139, 250, 0.2), transparent);
    margin: 0.15rem 0;
    position: relative;
    z-index: 1;
}

.view-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.3rem 0;
    position: relative;
    z-index: 1;
}

.view-stat-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.3rem 0;
    transition: all 0.2s ease;
    border-radius: 8px;
    padding: 0.35rem 0.5rem;
    margin: 0 -0.5rem;
}

.view-stat-item:hover {
    background: rgba(96, 165, 250, 0.06);
}

.view-stat-icon {
    width: 24px;
    text-align: center;
    flex-shrink: 0;
    color: #60a5fa;
    font-size: 0.9rem;
    opacity: 0.7;
}

.view-stat-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.view-stat-label {
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 500;
}

.view-stat-value {
    color: #e2e8f0;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: right;
}

.view-syntax-badge {
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: 6px;
    padding: 0.08rem 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.view-actions {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 0.1rem;
    position: relative;
    z-index: 1;
}

.view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.65rem 0;
    background: rgba(59, 130, 246, 0.08);
    color: #93c5fd;
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: 12px;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.view-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(124, 58, 237, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.view-btn:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(96, 165, 250, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.view-btn:hover::before {
    opacity: 1;
}

.view-btn:active {
    transform: translateY(0);
}


.view-content {
    flex: 1;
    min-height: 0;
}

.view-editor-wrapper {
    position: relative;
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(96, 165, 250, 0.05);
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    max-height: 70vh;
    min-height: 540px;
}

.view-editor-wrapper:focus-within {
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.08), 0 8px 32px rgba(0, 0, 0, 0.3);
}

.view-editor-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.03), transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.view-line-numbers {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    padding: 1.2rem 0.5rem 1.2rem 0.8rem;
    text-align: right;
    color: #475569;
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.8rem;
    line-height: 1.98;
    overflow: hidden;
    user-select: none;
    width: 4rem;
    white-space: pre;
    border-right: 1px solid rgba(96, 165, 250, 0.08);
    background: rgba(15, 23, 42, 0.5);
    z-index: 2;
    pointer-events: none;
}

.view-textarea {
    width: 100%;
    height: 100%;
    min-height: 650px;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 1.2rem 1.2rem 1.2rem 5.2rem;
    color: #e2e8f0;
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.85rem;
    line-height: 1.7;
    resize: none;
    outline: none;
    overflow: auto;
    position: relative;
    z-index: 1;
}

.view-textarea::selection {
    background: rgba(96, 165, 250, 0.3);
}

.view-textarea::-webkit-scrollbar {
    width: 8px;
}

.view-textarea::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.4);
    border-radius: 4px;
}

.view-textarea::-webkit-scrollbar-thumb {
    background: rgba(96, 165, 250, 0.2);
    border-radius: 4px;
    border: 2px solid transparent;
    background-clip: content-box;
}

.view-textarea::-webkit-scrollbar-thumb:hover {
    background: rgba(96, 165, 250, 0.35);
    border: 2px solid transparent;
    background-clip: content-box;
}

.ads-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.ad-item {
    flex: 1;
    min-width: 200px;
    max-width: 320px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(96, 165, 250, 0.1);
    transition: all 0.25s ease;
    background: rgba(15, 23, 42, 0.5);
}

.ad-item:hover {
    border-color: rgba(96, 165, 250, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(96, 165, 250, 0.15);
}

.ad-item img {
    display: block;
    width: 100%;
    height: auto;
}

.shop-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.shop-item {
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(96, 165, 250, 0.1);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

.shop-item:hover {
    border-color: rgba(96, 165, 250, 0.25);
    transform: translateY(-2px);
}

.shop-item-owned {
    border-color: rgba(52, 211, 153, 0.3);
    background: rgba(52, 211, 153, 0.05);
}

.shop-item-owned:hover {
    border-color: rgba(52, 211, 153, 0.5);
}

.shop-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3rem;
}

.shop-item-label {
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.9rem;
}

.shop-item-desc {
    color: #64748b;
    font-size: 0.75rem;
}

.shop-item-price {
    color: #fbbf24;
    font-size: 0.85rem;
    font-weight: 600;
}

.settings-layout {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    max-width: 920px;
    margin: 0 auto;
}

.settings-sidebar {
    flex-shrink: 0;
    width: 220px;
    position: sticky;
    top: 1.5rem;
}

.settings-sidebar .credits-tabs {
    flex-direction: column;
    margin-bottom: 0;
    gap: 0.25rem;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.8));
    border: 1px solid rgba(96, 165, 250, 0.12);
    border-radius: 16px;
    padding: 0.75rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.settings-sidebar .credits-tab {
    width: 100%;
    box-sizing: border-box;
    padding: 0.65rem 1rem 0.65rem 2.2rem;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    position: relative;
    transition: all 0.2s ease;
}

.settings-sidebar .credits-tab i {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: #64748b;
    transition: color 0.2s ease;
}

.settings-sidebar .credits-tab:hover {
    background: rgba(96, 165, 250, 0.07);
    color: #e2e8f0;
}

.settings-sidebar .credits-tab:hover i {
    color: #94a3b8;
}

.settings-sidebar .credits-tab.active {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
}

.settings-sidebar .credits-tab.active i {
    color: #60a5fa;
}

.settings-sidebar .credits-tab.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 3px;
    background: linear-gradient(180deg, #3b82f6, #8b5cf6);
    border-radius: 0 3px 3px 0;
}

.settings-content {
    flex: 1;
    min-width: 0;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.8));
    border: 1px solid rgba(96, 165, 250, 0.12);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.settings-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(96, 165, 250, 0.06), transparent 60%);
    pointer-events: none;
}

.settings-content .auth-form {
    position: relative;
    z-index: 1;
    max-width: 500px;
    margin: 0;
}

.settings-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 0.25rem;
}

.settings-section-desc {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 1.25rem;
}

.settings-form-group {
    margin-bottom: 1rem;
}

.settings-form-group label {
    display: block;
    color: #94a3b8;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
}

.credits-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.credits-tab {
    padding: 0.5rem 1.2rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    color: #94a3b8;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(96, 165, 250, 0.1);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.credits-tab:hover {
    color: #e2e8f0;
    border-color: rgba(96, 165, 250, 0.25);
}

.credits-tab.active {
    color: #60a5fa;
    border-color: rgba(96, 165, 250, 0.3);
    background: rgba(96, 165, 250, 0.1);
}

.shop-item-owned-label {
    color: #34d399;
    font-size: 0.75rem;
    font-weight: 600;
}

.shop-btn {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.3rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.shop-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.marketplace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.marketplace-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(96, 165, 250, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s ease;
    position: relative;
}

.marketplace-card:hover {
    border-color: rgba(96, 165, 250, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.marketplace-featured {
    border-color: rgba(251, 191, 36, 0.3);
}

.marketplace-featured:hover {
    border-color: rgba(251, 191, 36, 0.5);
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.1);
}

.marketplace-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1e293b;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    z-index: 2;
}

.marketplace-img {
    display: block;
    width: 300px;
    height: 85px;
    object-fit: cover;
    border-bottom: 1px solid rgba(96, 165, 250, 0.08);
    margin: 0 auto;
}

.marketplace-body {
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.marketplace-desc {
    color: #cbd5e1;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

.marketplace-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.marketplace-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    text-decoration: none;
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.15s ease;
}

.marketplace-link:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.marketplace-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(96, 165, 250, 0.12);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    margin-bottom: 1.2rem;
}

.marketplace-info-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 10px;
    color: #1e293b;
    font-size: 1rem;
}

.marketplace-info-text {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.5;
}

.marketplace-info-text strong {
    color: #fbbf24;
}

.admin-charts-row {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .admin-charts-row {
        flex-direction: column;
    }
}

.navbar-mobile {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid rgba(96, 165, 250, 0.1);
    background: rgba(15, 23, 42, 0.6);
    position: relative;
    z-index: 1000;
}

.navbar-mobile-left {
    display: flex;
    align-items: center;
}

.navbar-mobile-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.hamburger:hover {
    background: rgba(96, 165, 250, 0.1);
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #94a3b8;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 260px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    border-left: 1px solid rgba(96, 165, 250, 0.15);
    padding: 1rem;
    z-index: 999;
    overflow-y: auto;
    transition: right 0.3s ease;
    backdrop-filter: blur(16px);
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.mobile-menu-overlay.open {
    display: block;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2rem 0.3rem 0.8rem 0.3rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(96, 165, 250, 0.1);
}

.mobile-menu-title {
    color: #94a3b8;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-close {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 0.2rem;
    line-height: 1;
    transition: color 0.2s ease;
}

.mobile-close:hover {
    color: #e2e8f0;
}

.mobile-link {
    display: block;
    padding: 0.6rem 0.8rem;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.15s ease;
}

.mobile-link:hover {
    background: rgba(96, 165, 250, 0.1);
    color: #e2e8f0;
}

.mobile-link.active {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
}

.mobile-link-danger {
    color: #fca5a5 !important;
}

.mobile-link-danger:hover {
    background: rgba(239, 68, 68, 0.1) !important;
}

.mobile-username {
    display: block;
    padding: 0.6rem 0.8rem 0.3rem;
    color: #60a5fa;
    font-weight: 600;
    font-size: 0.9rem;
}

.mobile-divider {
    height: 1px;
    background: rgba(96, 165, 250, 0.1);
    margin: 0.5rem 0;
}

@media (max-width: 768px) {
    .form-columns {
        flex-direction: column;
    }

    .form-left {
        flex: none;
        width: 100%;
    }

    .form-right {
        flex: none;
        width: 100%;
        height: auto;
        min-height: 300px;
    }

    .form-right textarea {
        min-height: 200px;
    }

    .view-columns {
        flex-direction: column;
        align-items: stretch;
    }

    .view-sidebar {
        flex: none;
        width: 100%;
    }

    .view-content {
        width: 100%;
    }

    .view-actions {
        flex-direction: row;
    }

    .navbar {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.5rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.2rem;
    }

    .nav-link {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }

    .profile-card {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }

    .profile-card.has-cover {
        padding-top: 70px;
    }

    .profile-cover {
        height: 90px;
    }

    .profile-columns {
        flex-direction: column;
    }

    .profile-col {
        flex: none;
        width: 100%;
    }

    .mini-paste-title {
        max-width: none;
    }

    .view-header-title {
        font-size: 1.3rem;
    }

    header h1 {
        font-size: 1.8rem;
    }

    .page-title {
        font-size: 1.3rem;
    }

    .view-editor-wrapper,
    .view-textarea {
        min-height: 0;
    }

    .view-line-numbers {
        width: 2.5rem;
        font-size: 0.7rem;
    }

    .view-stat-body {
        flex-direction: column;
        gap: 0.1rem;
    }

    .table-wrapper {
        overflow-x: auto;
    }

    .pastes-table {
        font-size: 0.75rem;
    }

    .td-paste {
        min-width: 120px;
    }

    .td-creator,
    .td-time,
    .td-views {
        white-space: nowrap;
    }

    .credits-tabs {
        flex-wrap: wrap;
    }

    .credits-tab {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .settings-layout {
        flex-direction: column;
    }

    .settings-sidebar {
        width: 100%;
        position: static;
    }

    .settings-sidebar .credits-tabs {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0.5rem;
    }

    .settings-sidebar .credits-tab {
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem 0.5rem 2rem;
    }

    .settings-sidebar .credits-tab.active::before {
        top: 0;
        left: 0;
        width: 100%;
        height: 2px;
        border-radius: 2px 2px 0 0;
        background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    }

    .settings-content {
        padding: 1.25rem;
    }

    .shop-item {
        min-width: 120px;
        max-width: 160px;
    }

    .marketplace-img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .marketplace-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    header {
        padding: 0 1rem;
    }

    .input-password-page {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .navbar {
        display: none;
    }

    .navbar-mobile {
        display: flex;
}

    .view-header-title {
        font-size: 1.1rem;
    }

    .header h1 {
        font-size: 1.4rem;
    }

    .admin-cards {
        flex-direction: column;
    }

    .admin-sidebar {
        flex: none;
        width: 100%;
    }

    .admin-layout {
        flex-direction: column;
    }

    .shop-item {
        min-width: 100px;
        max-width: 140px;
        padding: 0.6rem;
    }

    .marketplace-grid {
        grid-template-columns: 1fr;
    }

    .btn-submit {
        width: 100%;
    }

    .view-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .view-btn {
        flex: 1;
        justify-content: center;
    }

    .view-line-numbers {
        display: none;
    }

    .view-editor-wrapper {
        max-height: 50vh;
        min-height: 150px;
        border-radius: 12px;
    }

    .view-textarea {
        min-height: 150px;
    }

    .view-sidebar {
        padding: 1rem;
    }

    .view-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.3rem;
    }

    .view-stat-item:nth-child(3) {
        display: none;
    }

    .view-stat-body {
        flex-direction: column;
        gap: 0.1rem;
    }
}
