/* Import a modern font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #1e1e2f 0%, #2a2a4a 100%);
    color: #e0e0e0;
    min-height: 100vh;
    width: 100vw; /* Match screen resolution */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

header {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(90deg, #1a73e8, #00d4ff);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    width: 100vw; /* Full viewport width */
}

header h1 {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5em;
    text-transform: uppercase;
    letter-spacing: 2px;
}

header h2 {
    margin: 5px 0 0;
    font-size: 1.6em;
    font-weight: 400;
    opacity: 0.9;
}

.coin-list {
    width: 100vw; /* Full viewport width */
    margin: 30px 0;
    padding: 20px;
}

.coin-list h2 {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    color: #ff4081;
    margin-bottom: 20px;
}

.coin-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: space-between;
    width: 100vw; /* Full viewport width */
    padding: 0 20px;
    box-sizing: border-box;
}

.coin-card {
    background: #2a2a4a;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    flex: 1 1 calc(20% - 25px);
    min-width: 200px;
    text-align: center;
    padding: 25px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #3a3a5a;
    box-sizing: border-box;
}

.coin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    border-color: #00d4ff;
}

.coin-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.coin-card h3 {
    margin: 0 0 10px;
    font-size: 1.2em;
    color: #00d4ff;
}

.coin-card p {
    margin: 6px 0;
    font-size: 0.85em;
    color: #b0b0b0;
}

.coin-card span {
    color: #00d4ff;
    font-weight: bold;
}

.coin-card.selected {
    border: 2px solid #ff4081;
    box-shadow: 0 0 15px rgba(255, 64, 129, 0.5);
}

main {
    width: 100vw; /* Full viewport width */
    margin: 30px 0 80px;
    padding: 0 20px;
    box-sizing: border-box;
}

.coin-info {
    background: #2a2a4a;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    padding: 25px;
    border: 1px solid #3a3a5a;
    animation: fadeIn 0.5s ease-in-out;
    width: 100%; /* Full width within main */
}

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

.coin-header {
    text-align: center;
    margin-bottom: 25px;
}

.coin-header img {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4));
}

.coin-header h3 {
    margin: 15px 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8em;
    color: #00d4ff;
    text-transform: uppercase;
}

.mining-stats {
    margin: 25px 0;
    padding: 20px;
    background: #35355a;
    border-radius: 8px;
    border: 1px solid #4a4a7a;
    width: 100%;
}

.mining-stats h4 {
    margin: 0 0 15px;
    font-family: 'Orbitron', sans-serif;
    color: #ff4081;
    font-size: 1.4em;
}

.mining-stats p {
    margin: 8px 0;
    font-size: 1.1em;
}

.mining-stats span {
    font-weight: bold;
    color: #00d4ff;
}

.mining-instructions {
    margin: 25px 0;
    padding: 20px;
    background: #35355a;
    border-radius: 8px;
    border: 1px solid #4a4a7a;
    width: 100%;
}

.mining-instructions h4 {
    margin: 0 0 15px;
    font-family: 'Orbitron', sans-serif;
    color: #ff4081;
    font-size: 1.4em;
}

.mining-instructions pre {
    background: #1e1e2f;
    padding: 15px;
    border-radius: 6px;
    font-family: 'Courier New', Courier, monospace;
    color: #00d4ff;
    white-space: pre-wrap;
    font-size: 0.95em;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);
}

.back-button {
    display: inline-block;
    margin: 25px auto;
    padding: 12px 25px;
    background: linear-gradient(90deg, #ff4081, #00d4ff);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    text-transform: uppercase;
    transition: transform 0.3s, box-shadow 0.3s;
    display: block;
    width: fit-content;
}

.back-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.5);
}

footer {
    text-align: center;
    padding: 15px;
    background: #1e1e2f;
    color: #b0b0b0;
    position: fixed;
    bottom: 0;
    width: 100vw; /* Full viewport width */
    border-top: 1px solid #3a3a5a;
}

.dashboard {
    background: #2a2a4a;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    padding: 25px;
    border: 1px solid #3a3a5a;
    animation: fadeIn 0.5s ease-in-out;
    width: 100%;
}

.wallet-input {
    text-align: center;
    margin-bottom: 25px;
    background-color: #2a2a2a;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.wallet-input h3 {
    margin: 0 0 15px;
    font-family: 'Orbitron', sans-serif;
    color: #ff4081;
    font-size: 1.4em;
}

.wallet-input select,
.wallet-input input {
    padding: 10px;
    margin: 5px;
    border-radius: 5px;
    border: 1px solid #4a4a7a;
    background: #35355a;
    color: #e0e0e0;
    font-size: 1em;
    width: 70%;
    max-width: none;
}

.wallet-input button {
    padding: 10px 20px;
    background: linear-gradient(90deg, #ff4081, #00d4ff);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.wallet-input button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.5);
}

.miner-stats,
.worker-list {
    margin: 25px 0;
    padding: 20px;
    background: #35355a;
    border-radius: 8px;
    border: 1px solid #4a4a7a;
    width: 100%;
}

.miner-stats h4,
.worker-list h4 {
    margin: 0 0 15px;
    font-family: 'Orbitron', sans-serif;
    color: #ff4081;
    font-size: 1.4em;
}

.miner-stats p {
    margin: 8px 0;
    font-size: 1.1em;
}

.miner-stats span {
    font-weight: bold;
    color: #00d4ff;
}

.worker-list table {
    width: 100%;
    border-collapse: collapse;
    color: #e0e0e0;
}

.worker-list th,
.worker-list td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #4a4a7a;
    font-size: 0.9em;
}

.worker-list th {
    background: #1e1e2f;
    color: #00d4ff;
    font-family: 'Orbitron', sans-serif;
}

.coin-nav {
    background: #1e1e2f;
    padding: 10px 0;
    border-bottom: 1px solid #3a3a5a;
    text-align: center;
    width: 100vw; /* Full viewport width */
}

.coin-nav ul {
    list-style: none;
    margin: 0;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.coin-nav li {
    display: inline;
}

.coin-nav a {
    color: #00d4ff;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1em;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}

.coin-nav a:hover {
    background: #35355a;
    color: #ff4081;
}

.coin-nav a.active {
    background: #ff4081;
    color: #fff;
}

.stats-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 20px;
    margin: 25px 0;
    width: 100%; /* Full width within parent */
}

.network-stats,
.pool-stats {
    flex: 1;
    min-width: 0;
    padding: 20px;
    background: #35355a;
    border-radius: 8px;
    border: 1px solid #4a4a7a;
    box-sizing: border-box;
}

.network-stats h4,
.pool-stats h4 {
    margin: 0 0 15px;
    font-family: 'Orbitron', sans-serif;
    color: #ff4081;
    font-size: 1.4em;
}

.network-stats p,
.pool-stats p {
    margin: 8px 0;
    font-size: 1.1em;
}

.network-stats span,
.pool-stats span {
    font-weight: bold;
    color: #00d4ff;
}

.charts-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 20px;
    margin: 25px 0;
    width: 100%; /* Full width within parent */
}

.network-chart,
.pool-chart {
    flex: 1;
    min-width: 0;
    padding: 20px;
    background: #35355a;
    border-radius: 8px;
    border: 1px solid #4a4a7a;
    box-sizing: border-box;
    width: 50vw; /* Each chart takes half the viewport width */
    max-width: 50vw; /* Cap at half screen */
}

.network-chart h4,
.pool-chart h4 {
    margin: 0 0 15px;
    font-family: 'Orbitron', sans-serif;
    color: #ff4081;
    font-size: 1.4em;
    text-align: center;
}

.network-chart canvas,
.pool-chart canvas {
    width: 100%; /* Fit container */
    height: 200px; /* Fixed height for aspect ratio */
}

canvas#minerHashrateChart {
    width: 100%; /* Fit container */
    height: 300px; /* Fixed height for dashboard */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .coin-card {
        flex: 1 1 calc(50% - 25px);
    }

    .stats-container,
    .charts-container {
        flex-direction: column;
        gap: 15px;
    }

    .network-chart,
    .pool-chart {
        width: 100vw; /* Full width on smaller screens */
        max-width: 100vw;
    }

    main {
        padding: 15px;
    }

    .coin-header img {
        width: 60px;
        height: 60px;
    }

    header h1 {
        font-size: 2em;
    }

    header h2 {
        font-size: 1.3em;
    }

    .wallet-input {
        flex-direction: column;
    }

    .wallet-input input {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .coin-card {
        flex: 1 1 100%;
    }
}

/* Inline styles from dogegpu.html */
.page-wrapper {
    padding-top: 20px;
    margin: 0;
    width: 100vw; /* Full viewport width */
}

.page-content {
    padding: 15px;
    width: 100%;
}

.card-deck {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
}

.card {
    flex: 1 1 18%;
    min-width: 150px;
    background: #333;
    color: #fff;
    border-radius: 15px;
    border: 1px solid #444;
    box-sizing: border-box;
}

.card-body {
    padding: 10px;
}

.widgets-icons {
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: #007bff;
    margin: 0 auto 10px;
}

.table1 {
    width: 100%;
    border-collapse: collapse;
}

.table1 th,
.table1 td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #444;
    color: #fff;
}

.thead-light th {
    background: #555;
}

.collapsableHeader {
    cursor: pointer;
}