/* ✅ Global Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

/* ✅ Universal Container for Both Pages */
.container {
    max-width: 70%;
    min-width: 400px;
    background-color: #1e1e1e;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

/* ✅ Input, Button, and Select Styling */
input, button, select {
    width: 100%;
    margin: 10px 0;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #333;
    border-radius: 5px;
    background-color: #292929;
    color: #ffffff;
}

/* ✅ Fix Placeholder Colors */
input::placeholder, select {
    color: #b3b3b3; /* Light gray for consistency */
}

/* ✅ Fix Dropdown for Asset Selection */
select {
    appearance: none;
    background-color: #292929;
    cursor: pointer;
}

/* ✅ Button Styling */
.btn {
    background-color: #f1c40f;
    color: #121212;
    cursor: pointer;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    padding: 12px;
    transition: background 0.3s ease-in-out;
}

.btn:hover {
    background-color: #e1b700;
}

/* ✅ Portfolio Overview Boxes */
#portfolio-summary {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.info-box {
    background-color: #292929;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    flex: 1;
    margin: 5px;
}

.info-box h3 {
    margin-bottom: 10px;
}

.info-box p {
    font-size: 18px;
    font-weight: bold;
}

/* ✅ Portfolio Table */
#portfolio-section {
    text-align: center;
    margin-top: 20px;
}

#portfolio-section table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

#portfolio-section th, #portfolio-section td {
    padding: 10px;
    text-align: center;
    border: 1px solid #333;
}

#portfolio-section th {
    background-color: #333;
    color: white;
}

/* ✅ Login/Register Forms */
.form-container {
    background-color: #222;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

a {
    color: #f1c40f;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ✅ Responsive Fixes */
@media (max-width: 768px) {
    .container {
        width: 90%;
    }

    #portfolio-summary {
        flex-direction: column;
    }

    .info-box {
        width: 100%;
    }
}

/* ✅ Live Crypto Prices Section */
#crypto-prices {
    text-align: center;
    margin-bottom: 20px;
}

/* ✅ Styling for the Crypto Boxes */
.crypto-box-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.crypto-box {
    background-color: #292929;  /* Matches theme */
    padding: 15px;
    border-radius: 8px;
    width: 180px; /* Consistent box size */
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-in-out;
}

.crypto-box:hover {
    transform: scale(1.05);
}

/* ✅ Crypto Value Styling */
.crypto-value {
    font-size: 20px;
    font-weight: bold;
    color: #f1c40f; /* Highlight color for readability */
}

/* ✅ Responsive Adjustments */
@media (max-width: 768px) {
    .crypto-box-container {
        flex-direction: column;
        align-items: center;
    }

    .crypto-box {
        width: 90%;
        max-width: 250px;
    }
}
