#shares-list,
#precious-metals-list,
#cash-list,
#crypto-list,
#total-list {
 list-style-type: none;
 padding: 0;
 margin: 0;
}

.share-item,
.metal-item,
.cash-item,
.crypto-item,
.total-row {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: 15px 20px;
 border-bottom: 1px solid #eee;
}

.share-item:last-child,
.metal-item:last-child,
.cash-item:last-child,
.crypto-item:last-child,
.total-row:last-child {
 border-bottom: none;
}

.share-name,
.metal-name,
.cash-name,
.crypto-name,
.total-name {
    font-weight: bold;
    font-size: 0.95em; /* Reduced from 1.1em */
    flex: 1.5;          /* Slightly less width to allow sector expansion */
}

/* .share-ticker,
.metal-ticker,
.crypto-ticker {
 color: #666;
 flex: 1;
 text-align: right;
 margin-right: 10px;
} */

.share-value,
.metal-value,
.cash-value,
.crypto-value,
.total-value {
 font-weight: bold;
 color: #28a745; /* A color to represent positive value */
 flex: 1;
 text-align: right;
}

.total-row {
 font-weight: bold;
 border-top: 2px solid #ccc;
 background-color: #f0f0f0;
}



/* Add this to your existing style.css file */

.login-container {
    position: relative;
}

.login-button {
    position: absolute;
    width: 250px;
    /* top: 20px; */
    right: 20px;
    padding: 10px 20px;
    background-color: #007BFF; /* A nice blue color */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.login-button:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: translateY(-2px);
}

.login-button:active {
    background-color: #004494; /* Even darker on click */
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


.share-sector,
.metal-sector,
.cash-sector,
.crypto-sector {
    flex: 2; /* Increased from 1 */
    text-align: right;
    font-style: italic;
    color: #444;
    margin-right: 10px;
}


.share-ticker,
.metal-ticker,
.crypto-ticker,
.cash-ticker {
    color: #666;
    flex: 1;
    text-align: right;
    margin-right: 10px;
}

.main-header {
    width: 100%;
    background-color: #f8f9fa;
    padding: 15px 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: relative;
    z-index: 10;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-container {
    display: flex;
    align-items: center;
}

.company-logo {
    height: 50px;
    margin-right: 10px;
}

.company-name {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
}

.login-container {
    display: flex;
    align-items: center;
}

.print-header {
    text-align: center;
    margin-bottom: 20px;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

.company-logo {
    height: 100px; /* Larger for print */
    margin-bottom: 5px;
}

.company-name {
    font-size: 2em;
    font-weight: bold;
    color: #222;
}

@media print {
    body {
        background: none;
        color: #000;
    }

    .main-header,
    .login-container,
    .login-button,
    script {
        display: none !important;
    }

    .container {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .print-header h1 {
        font-size: 1.5em;
        margin-bottom: 5px;
    }

    .print-header p {
        font-size: 1em;
        margin-top: 0;
    }

    .total-row {
        background-color: #eaeaea !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

.page-break {
    page-break-before: always;
}

.share-name {
    flex: 2;
}

.share-sector {
    flex: 2; /* Increased from 1 to 2 */
    text-align: right;
    font-style: italic;
    color: #444;
    margin-right: 10px;
}

.share-value {
    flex: 1;
    text-align: right;
    font-weight: bold;
    color: #28a745;
}

.cover-page {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(to bottom right, #f0f0f0, #dcdcdc);
    page-break-after: always;
}

.cover-logo {
    height: 120px;
    margin-bottom: 20px;
}

.cover-logos {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.cover-mascot {
  height: 120px;
}


.cover-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 10px;
}

.cover-subtitle {
    font-size: 1.2em;
    margin-bottom: 5px;
}

.cover-date {
    font-size: 1em;
    color: #555;
}

.title-banner {
  background-color: #2c3e50;
  color: #ffffff;
  text-align: center;
  padding: 20px 0;
  font-size: 2.5em;
  font-weight: bold;
  border-bottom: 4px solid #1abc9c;
}

#changes-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.change-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.change-item:last-child {
  border-bottom: none;
}

.change-name {
  font-weight: bold;
  font-size: 0.95em;
  flex: 2;
}

.change-type {
  flex: 2;
  text-align: right;
  font-style: italic;
  color: #444;
  margin-right: 10px;
}

.change-value {
  flex: 1;
  text-align: right;
  font-weight: bold;
  color: #28a745;
}

#dividends-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.dividend-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.dividend-item:last-child {
  border-bottom: none;
}

.dividend-name {
  font-weight: bold;
  font-size: 0.95em;
  flex: 2;
}

.dividend-type {
  flex: 2;
  text-align: right;
  font-style: italic;
  color: #444;
  margin-right: 10px;
}

.dividend-value {
  flex: 1;
  text-align: right;
  font-weight: bold;
  color: #007BFF; /* A distinct color for income */
}


#gains-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.gain-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.gain-item:last-child {
  border-bottom: none;
}

.gain-name {
  font-weight: bold;
  font-size: 0.95em;
  flex: 2;
}

.gain-type {
  flex: 2;
  text-align: right;
  font-style: italic;
  color: #444;
  margin-right: 10px;
}

.gain-value {
  flex: 1;
  text-align: right;
  font-weight: bold;
  color: #e67e22; /* A warm tone to represent gains */
}


#subsidiary-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.subsidiary-item {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
}

.subsidiary-item:last-child {
  border-bottom: none;
}

.subsidiary-name {
  font-weight: bold;
  font-size: 0.95em;
}

.subsidiary-region,
.subsidiary-sector {
  font-size: 0.9em;
  text-align: right;
  color: #555;
}

.subsidiary-description {
  margin-top: 15px;
  font-size: 0.9em;
  line-height: 1.5;
  color: #444;
  background-color: #f9f9f9;
  padding: 10px;
  border-left: 4px solid #ccc;
}

.report-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
  /* page-break-before: always; */
}

.footer-bear {
  width: 250px; /* Adjust size as needed */
  height: auto;
  opacity: 0.9;
}

.terms-conditions {
  margin-top: 40px;
  padding: 20px;
  background-color: #f8f9fa;
  border-top: 2px solid #ccc;
  font-size: 0.9em;
  color: #333;
  line-height: 1.6;
}

.terms-conditions h2 {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #2c3e50;
}













