/* AssetList.css */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.dark-theme {
    background-color: #121212;
    color: #ffffff;
    font-family: 'Arial', sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.header {
    position: relative;
    text-align: center;
    margin-bottom: 20px;
}

.header-image {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    opacity: 0.8;
}

.header-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: #f5f5f5;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.content {
    padding: 20px;
}

.category-title {
    color: gold;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.asset-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.asset-item {
    background-color: #1e1e1e;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.asset-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

.asset-name {
    font-size: 1.2rem;
    font-weight: bold;
}

.asset-value, .asset-shares {
    font-size: 1rem;
    margin-top: 5px;
}

.no-assets {
    text-align: center;
    font-size: 1.2rem;
    color: #888;
}
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup {
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    color: #fff;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.popup h3 {
    margin: 0 0 10px;
    font-size: 1.5rem;
}

.popup button {
    background-color: #f5a623;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.popup button:hover {
    background-color: #ffa742;
}
.key-details, .financial-breakdown, .ownership-benefits {
    margin-top: 15px;
}

.key-details p, .financial-breakdown p {
    margin: 5px 0;
}

.ownership-benefits ul {
    list-style: none;
    padding-left: 0;
}

.ownership-benefits li {
    margin: 5px 0;
}

h4 {
    margin-top: 10px;
    font-size: 1.2em;
}
.asset-details {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Split into 2 columns */
    gap: 10px 20px; /* Vertical and horizontal spacing */
    margin: 15px 0;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}

.detail-label {
    font-weight: bold;
    color: #ccc;
}

.detail-value {
    color: #fff;
    text-align: right;
}

.fractional-details {
    margin-top: 20px;
}

.fractional-details input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #444;
    background-color: #333;
    color: #fff;
    border-radius: 4px;
}

.popup button {
    margin-top: 10px;
    background-color: #f5a623;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
}

.popup button:hover {
    background-color: #ffa742;
}

/* Custom Progress Bar Styling */
progress.progress-bar-gold {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    background-color: #444; /* Dark background for the empty part */
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
}

progress.progress-bar-gold::-webkit-progress-bar {
    background-color: #444; /* Background for empty progress */
}

progress.progress-bar-gold::-webkit-progress-value {
    background-color: gold; /* Gold color for filled part */
    border-radius: 10px;
}

progress.progress-bar-gold::-moz-progress-bar {
    background-color: gold; /* Gold color for Firefox */
    border-radius: 10px;
}
