:root {
    --primary-color: #007bff;
    --secondary-color: #0056b3;
    --background-color: #f0f0f0;
    --text-color: #333;
    --shadow-color: rgba(0, 0, 0, 0.3);
}



/* Stilizime bazë për të gjithë faqen */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    overflow-x: hidden; /* Parandalon scroll-in horizontal */
}

.custom-shadow {
    box-shadow: 0 8px 12px var(--shadow-color);
}
/* Header */
header {
    background: url('galaxy_crypto_header.png') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 20px;
    box-shadow: 0 8px 12px var(--shadow-color);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 20px;
    position: relative;
}

.logo {
    width: 100px;
    height: auto;
    margin-right: 20px;
    border-radius: 8px;
}

header h1 {
    font-size: 2.5rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    text-shadow: 2px 2px 5px var(--shadow-color);
}

header .subtitle {
    font-size: 1.2rem;
    font-style: italic;
    margin-top: 5px;
}

/* Footer */
footer {
    margin-top: 20px;
    background: #333;
    color: white;
    text-align: center;
    padding: 1rem 0;
    box-shadow: 0 -8px 12px var(--shadow-color);
}

/* Përmbajtja kryesore */
.main-container {
    width: 100%;
    max-width: 1200px;
    margin: 10px auto;
    display: flex;
    justify-content: space-around;
    gap: 15px;
    align-items: center;
}

.box {
    flex: 1;
    background: white;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

canvas {
    display: block;
    width: 100%;
}

.container {
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-rows: repeat(2, auto);
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.chart-container {
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 8px 12px var(--shadow-color);
    text-align: center;
    width: 100%; /* Mbush të gjithë hapësirën por mos e tejkalo */
    box-sizing: border-box; /* Përfshin padding dhe border në përmasat totale */
}


#symbolList ul {
    list-style-type: none;
    padding: 0;
}

#symbolList li {
    padding: 5px;
}

ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

ul li {
    display: block;
    margin: 10px 0;
}

ul li a {
    display: block;
    padding: 10px 20px;
    background-color: var(--background-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

ul li a:hover {
    background-color: white;
}

/* Artikuj */
.article-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
    margin-top: 0px;
}

.article-item {
    display: flex;
    gap: 20px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 8px 12px var(--shadow-color);
    padding: 15px;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.article-item:hover {
    transform: scale(1.02);
}

.article-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.article-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 12px var(--shadow-color);
}

.article-imge {
    width: 90%;
    height: 90%;
    margin: auto;
    margin-top: 20px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 12px var(--shadow-color);
}

.article-right {
    flex: 2;
    display: flex;
    flex-direction: column;
}

.article-title {
    font-size: 1.2rem;
    margin-top: 10px;
}

.article-desc {
    font-size: 0.9rem;
    margin-top: 10px;
    color: #555;
}

/* Tabela */
.table-container {
    width: 100%;
    margin: auto;
    max-height: 500px;
    overflow-y: auto;
    overflow-x: auto;
    border-radius: 8px;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.table-container::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.table-container::-webkit-scrollbar-track {
    background: transparent;
}

.table-container::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.table-container::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.4);
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
}

th {
    background-color: rgba(54, 162, 235, 0.5);
    color: white;
    padding: 12px 15px;
    text-align: left;
    font-size: 14px;
    position: sticky;
    top: 0;
    z-index: 2;
}

td {
    padding: 12px 15px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid #ddd;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #e9f7e7;
}

.buy {
    color: #27ae60;
}

.sell {
    color: #e74c3c;
}

.positive {
    color: #2ecc71;
}

.negative {
    color: #e74c3c;
}

/* Media Queries për rezolucione të ndryshme */
@media (max-width: 768px) {
    header {
        padding: 1rem 0;
        flex-direction: column;
        text-align: center;
    }

    .logo {
        width: 80px;
        margin-right: 0;
        margin-bottom: 10px;
    }

   .chart-container {
    width: 100%; /* Mbush të gjithë hapësirën por mos e tejkalo */
    overflow: hidden; /* Siguron që përmbajtja të mos dalë jashtë */
    box-sizing: border-box; /* Përfshin padding dhe border në përmasat totale */
    }

    header h1 {
        font-size: 1.8rem;
    }

    header .subtitle {
        font-size: 1rem;
    }

    footer {
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }

    .main-container {
        flex-direction: column;
        gap: 10px;
    }

    .box {
        height: 60px;
    }

    .container {
        grid-template-columns: 1fr;

    }

    .article-item {
        flex-direction: column;
        text-align: center;
    }

    .article-img {
        width: 80px;
        height: 80px;
    }

    .article-imge {
        width: 100%;
        height: auto;
    }

    .article-right {
        flex: 1;
    }

    .article-title {
        font-size: 1rem;
    }

    .article-desc {
        font-size: 0.8rem;
    }

    table {
        width: 100%;
        overflow-x: auto;
    }

    th, td {
        padding: 8px 10px;
        font-size: 12px;
    }

    h2 {
        font-size: 24px;
    }
}

/* Tabela */
.tablel-container {
    width: 100%;
    margin: auto;
    max-height: 750px;
    overflow-y: auto;
    overflow-x: auto;
    border-radius: 8px;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.tablel-container::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.tablel-container::-webkit-scrollbar-track {
    background: transparent;
}

.tablel-container::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.tablel-container::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.4);
}

/* Tabela */
.articlel-container {
    width: 100%;
    margin: auto;
    max-height: 950px;
    overflow-y: auto;
    overflow-x: auto;
    border-radius: 8px;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.articlel-container::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.articlel-container::-webkit-scrollbar-track {
    background: transparent;
}

.articlel-container::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.articlel-container::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.4);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.progress-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    width: 320px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.progress-text {
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.progress-container {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.2);
}

.progress-bar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    border-radius: 6px;
    transition: width 1s ease;
    box-shadow: 0 0 15px #0072ff;
}


.containerm {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
    margin-top: 0px;
    text-align: left;
    scrollbar-width: thin;
    scrollbar-color: transparent;
    padding: 5px; /* Vendos 10px padding për të gjithë kontejnerin */
}

/* Për të fshehur scrollbar-in në Chrome */
.containerm::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.containerm::-webkit-scrollbar-track {
    background: transparent;
}

.containerm::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.containerm::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.4);
}


#comments div {
    margin-bottom: 15px; /* Hapësirë më e madhe midis komenteve */
}

/* Shtoni 10px distancë mes kutive të komenteve */
.comment-box {
    margin-bottom: 15px; /* Jep më shumë hapësirë midis komenteve */
    padding: 12px;
    border-radius: 8px;
    background: #f0f0f0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: block;
}

/* Redukton hapësirën mes tekstit dhe përgjigjeve */
.comment-box strong {
    color: #1d4ed8;
}

.comment-box p {
    margin: 5px 0;
    color: #333;
}

.comment-box span {
    font-size: 12px;
    color: #777;
}


#comments {
    margin-top: 20px; /* Hapësirë sipër komenteve */
    padding: 10px;
    background: #fff;
    border-radius: 5px;
}

/* Përgjigjet kanë 10px distancë të ngjashme */
.reply-box {
    margin-left: 30px;
    margin-top: 10px;
    padding: 10px;
    border-left: 4px solid #0ea5e9;
    border-radius: 8px;
    background: #e0f2fe;
}

/* Butonat dhe inputet janë më të ngushta */
button {
    cursor: pointer;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: 0.3s;
    margin-bottom: 10px; /* 10px distancë mes butonave */
}

button:hover {
    opacity: 0.8;
}

.reply-button {
    color: #1d4ed8;
    background: none;
    font-size: 14px;
}

.send-button {
    width: 99%;
    padding: 10px;
    background: #007bff5c;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 8px 12px var(--shadow-color);
}

.send-button:hover {
    background: #007bff7d;
}


.input-field {
    width: 99%;
    padding: 10px;
    margin-bottom: 15px; /* Hapësirë mes inputeve */
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-shadow: 0 8px 12px var(--shadow-color);
}

.input-bb {
    padding: 10px;
}

input, textarea {
    width: 100%;
    padding: 8px;
    margin-top: 10px; /* 10px distancë mes inputeve */
    margin-bottom: 10px; /* 10px distancë mes inputeve */
    border: 1px solid #ccc;
    border-radius: 6px;
}

.hidden {
    display: none;
}


.download-btn{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  padding:.6rem 1rem;
  background:linear-gradient(90deg,#4f46e5,#06b6d4);
  color:white;
  font-weight:20;
  border-radius:10px;
  text-decoration:none;
  box-shadow:0 6px 18px rgba(8,8,40,.12);
  border:0;
  cursor:pointer;
  font-family:system-ui,Segoe UI,Roboto,Arial;
}
.download-btn svg{ width:18px; height:18px; }
.download-btn:active{ transform:translateY(1px); }