/* === STYLE.CSS - KRIPTO VERZIÓ === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: #1f2937;
    line-height: 1.6;
    /* Állandó scrollbar minden oldalon a konzisztens szélesség érdekében */
    overflow-y: scroll;
}

/* === KÖZÖS KOMPONENSEK === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #f7931e 0%, #f79c1e 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e8851a 0%, #e8921a 100%);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #e5e7eb;
    color: #374151;
}

.btn-secondary:hover {
    background-color: #d1d5db;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

/* === NAVIGÁCIÓ === */
.navbar {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 0;
    position: relative;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #f7931e 0%, #f79c1e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #f7931e;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f7931e 0%, #f79c1e 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(247, 147, 30, 0.3);
}

/* === HAMBURGER MENÜ === */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 4px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #374151;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    list-style: none;
    padding: 16px 0;
}

.mobile-nav ul li {
    padding: 0;
}

.mobile-nav ul li a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    transition: all 0.3s;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a.active {
    background-color: #f9fafb;
    color: #f7931e;
}

/* === DROPDOWN MENÜ === */
.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 8px;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 12px;
    width: 12px;
    height: 12px;
    background: white;
    border: 1px solid #e5e7eb;
    border-right: none;
    border-bottom: none;
    transform: rotate(45deg);
}

.dropdown-header {
    padding: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.dropdown-user-name {
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.dropdown-user-email {
    font-size: 14px;
    color: #6b7280;
}

.dropdown-menu {
    padding: 8px 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: #374151;
    font-size: 14px;
    transition: background-color 0.3s;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.dropdown-item:hover {
    background-color: #f9fafb;
}

.dropdown-item.logout {
    color: #ef4444;
    border-top: 1px solid #f3f4f6;
    margin-top: 8px;
}

.dropdown-item.logout:hover {
    background-color: #fef2f2;
}

/* === MODAL === */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2000;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    border-radius: 12px;
    padding: 24px;
    max-width: 400px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-header {
    margin-bottom: 16px;
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.modal-message {
    color: #6b7280;
    margin-bottom: 24px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-cancel {
    background-color: #f3f4f6;
    color: #374151;
}

.btn-cancel:hover {
    background-color: #e5e7eb;
}

.btn-confirm {
    background-color: #ef4444;
    color: white;
}

.btn-confirm:hover {
    background-color: #dc2626;
}

/* === LOGIN OLDAL === */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f7931e 0%, #ff6b35 50%, #f79c1e 100%);
}

.login-form {
    background: white;
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.login-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #f7931e 0%, #f79c1e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #f7931e;
}

/* === DASHBOARD === */
.main-content {
    padding: 32px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.stat-title {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-change {
    font-size: 14px;
    font-weight: 500;
}

.positive {
    color: #10b981;
}

.negative {
    color: #ef4444;
}

/* === TÁBLÁZATOK === */
.table-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.table-header {
    padding: 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-title {
    font-size: 20px;
    font-weight: 600;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid #f3f4f6;
}

th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

tr:hover {
    background: #f9fafb;
}

/* === HÍREK === */
.news-item {
    padding: 24px;
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.3s;
}

.news-item:hover {
    background: #f9fafb;
}

.news-item:last-child {
    border-bottom: none;
}

.news-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.news-link:hover .news-title {
    color: #f7931e;
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #111827;
    transition: color 0.3s;
}

.news-summary {
    color: #6b7280;
    margin-bottom: 12px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #9ca3af;
}

/* === HÍR RÉSZLETES OLDAL === */
.news-detail-container {
   /* max-width: 800px;*/
    margin: 0 auto;
}

.news-detail-header {
    margin-bottom: 32px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 8px 16px;
    background: #f3f4f6;
    color: #374151;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.back-button:hover {
    background: #e5e7eb;
    color: #f7931e;
}

.news-detail-title {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
    line-height: 1.2;
}

.news-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding: 16px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 32px;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-label {
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-value {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

.news-detail-content {
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
}

.news-detail-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin: 32px 0 16px 0;
}

.news-detail-content p {
    margin-bottom: 20px;
}

.news-detail-content blockquote {
    border-left: 4px solid #f7931e;
    padding-left: 16px;
    margin: 24px 0;
    font-style: italic;
    color: #6b7280;
}

.news-detail-content br {
    padding-bottom: 1em;
}

/* === PROFIL BEÁLLÍTÁSOK === */
.profile-container {
    max-width: 1200px;
    margin: 0 auto;
}

.profile-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #e5e7eb;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.profile-avatar-section {
    text-align: center;
    margin-bottom: 32px;
}

.current-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f7931e 0%, #f79c1e 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    margin: 0 auto 24px;
    position: relative;
    overflow: hidden;
}

.avatar-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    background: #f9fafb;
}

.upload-area:hover {
    border-color: #f7931e;
    background: #fef7f0;
}

.upload-area.dragover {
    border-color: #f7931e;
    background: #fef7f0;
    transform: scale(1.02);
}

.upload-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    background: #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #6b7280;
}

.upload-text {
    font-size: 16px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.upload-hint {
    font-size: 14px;
    color: #6b7280;
}

.file-input {
    display: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s;
    background: white;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #f7931e;
    box-shadow: 0 0 0 3px rgba(247, 147, 30, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

.form-select:focus {
    outline: none;
    border-color: #f7931e;
    box-shadow: 0 0 0 3px rgba(247, 147, 30, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.checkbox-input {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.checkbox-label {
    flex: 1;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    line-height: 1.4;
}

.security-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #f3f4f6;
}

.security-item:last-child {
    border-bottom: none;
}

.security-info h4 {
    font-size: 16px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 4px;
}

.security-info p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #d1d5db;
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #f7931e;
}

input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

.btn-group {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

.btn-danger {
    background-color: #ef4444;
    color: white;
}

.btn-danger:hover {
    background-color: #dc2626;
}

/* === EGYENLEG === */
.balance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.balance-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.balance-amount {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.balance-currency {
    color: #6b7280;
    margin-bottom: 16px;
}

/* === GRAFIKONOK === */
.chart-container {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.chart-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
}

.chart-controls {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-interval {
    padding: 8px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: white;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-interval:hover {
    background: #f9fafb;
    border-color: #f7931e;
    color: #f7931e;
}

.btn-interval.active {
    background: #f7931e;
    border-color: #f7931e;
    color: white;
}

.custom-tooltip {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.custom-tooltip div {
    margin-bottom: 4px;
    font-size: 14px;
}

.custom-tooltip div:last-child {
    margin-bottom: 0;
}

/* === FOOTER === */
.footer {
    background: #1f2937;
    color: #e5e7eb;
    padding: 48px 0 24px;
    margin-top: 64px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section {
    min-width: 0; /* Prevents grid blowout */
    word-wrap: break-word;
    margin-bottom: 16px;
}

.footer-title {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #f7931e 0%, #f79c1e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    color: #9ca3af;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #374151;
    color: #9ca3af;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #f7931e;
    color: white;
    transform: translateY(-2px);
}

.footer-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #f9fafb;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    cursor: pointer;
    word-wrap: break-word;
    hyphens: auto;
    line-height: 1.4;
}

.footer-links a:hover {
    color: #f7931e;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 24px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-copyright {
    flex: 1;
    min-width: 300px;
}

.footer-copyright p {
    margin-bottom: 8px;
    font-size: 14px;
    color: #9ca3af;
}

.footer-disclaimer {
    font-size: 12px !important;
    color: #6b7280 !important;
    line-height: 1.5;
}

.footer-info {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #374151;
    padding: 8px 12px;
    border-radius: 6px;
    min-width: 120px;
}

.badge-icon {
    font-size: 16px;
}

.badge-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.badge-text strong {
    font-size: 12px;
    font-weight: 600;
    color: #f9fafb;
    line-height: 1;
}

.badge-text small {
    font-size: 10px;
    color: #9ca3af;
    line-height: 1;
}

/* Profile és Security grid layout */
.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.full-width-section {
    grid-column: 1 / -1;
}

/* Nagy felbontásokon is biztosítjuk a megfelelő elrendezést */
@media (min-width: 1200px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* === RESPONSÍV === */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .login-form {
        padding: 32px 24px;
        margin: 16px;
    }
    
    table {
        font-size: 14px;
    }
    
    th, td {
        padding: 12px 16px;
    }

    .chart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .chart-controls {
        width: 100%;
        justify-content: space-between;
    }

    .btn-interval {
        flex: 1;
        text-align: center;
        font-size: 12px;
        padding: 6px 8px;
    }

    .chart-container {
        padding: 16px;
    }

    .user-dropdown {
        right: -20px;
        left: auto;
        min-width: 250px;
    }

    .modal {
        margin: 16px;
        width: calc(100% - 32px);
    }

    /* Mobil nézetben név elrejtése */
    .user-info span {
        display: none;
    }

    /* === HÍR RÉSZLETES OLDAL MOBIL === */
    .news-detail-title {
        font-size: 24px;
        line-height: 1.3;
    }

    .news-detail-meta {
        flex-direction: column;
        gap: 16px;
    }

    .news-item {
        padding-top: 24px;
        padding-bottom: 24px;
        padding-left: 0px;
        padding-right: 0px;
        border-bottom: 1px solid #e5e7eb;
        transition: background-color 0.3s;
    }

    .meta-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .news-detail-content {
        font-size: 15px;
    }

    .news-detail-content h3 {
        font-size: 18px;
        margin: 24px 0 12px 0;
    }

    .back-button {
        font-size: 14px;
        padding: 10px 16px;
    }

    /* === PROFIL BEÁLLÍTÁSOK MOBIL === */
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .current-avatar {
        width: 100px;
        height: 100px;
        font-size: 36px;
    }

    .upload-area {
        padding: 20px 16px;
    }

    .btn-group {
        flex-direction: column;
        gap: 12px;
    }

    .btn-group .btn {
        width: 100%;
    }

    .security-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .security-item .btn,
    .security-item .toggle-switch {
        align-self: flex-end;
    }

    /* === FOOTER MOBIL === */
    .footer {
        padding: 32px 0 20px;
        margin-top: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 24px;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section:first-child {
        text-align: center;
    }

    .footer-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .footer-description {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .footer-social {
        justify-content: center;
        margin-bottom: 24px;
    }

    .footer-section-title {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .footer-links {
        display: block;
        text-align: center;
    }

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .footer-copyright {
        min-width: auto;
    }

    .footer-info {
        justify-content: center;
        gap: 12px;
    }

    .footer-badge {
        min-width: auto;
        padding: 6px 10px;
    }

    .badge-text strong {
        font-size: 11px;
    }

    .badge-text small {
        font-size: 9px;
    }

    /* Profile és Security grid mobil */
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .security-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* === STYLE.CSS VÉGE - ÚJ STÍLUSOK === */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* === PAGINATION === */
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin-top: 32px;
}

.page-item {
    margin: 0 4px;
}

.page-link {
    display: block;
    padding: 8px 14px;
    color: #374151;
    background-color: white;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
}

.page-item:not(.disabled) .page-link:hover {
    background-color: #f9fafb;
    border-color: #f7931e;
    color: #f7931e;
}

.page-item.active .page-link {
    background-color: #f7931e;
    border-color: #f7931e;
    color: white;
    cursor: default;
}

.page-item.disabled .page-link {
    color: #9ca3af;
    background-color: #f9fafb;
    cursor: not-allowed;
}