/* ===== Global Styles ===== */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* ===== Loading Overlay ===== */
#loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-spinner {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== Header Section ===== */
.header-top {
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-flag {
    display: flex;
    align-items: center;
}

.header-flag img {
    height: 20px;
    margin-right: 10px;
}

.header-bottom {
    background-color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
}

.header-bottom nav a {
    margin: 0 10px;
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

.header-bottom img {
    height: 50px;
}

/* ===== Reports Section ===== */
.reports {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.report {
    background-color: #f90;
    padding: 20px;
    margin: 10px;
    text-align: center;
    border-radius: 5px;
    position: relative;
}

.report h2 {
    margin: 0 0 20px;
    color: #fff;
}

.report a {
    display: block;
    margin: 10px 0;
    color: #fff;
    text-decoration: none;
}

/* ===== Buttons ===== */
.details-btn,
.place-bid-btn {
    display: block;
    margin: 10px auto;
    padding: 10px 20px;
    border: none;
    background-color: #fff;
    color: #f90;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.details-btn:hover,
.place-bid-btn:hover {
    background-color: #ddd;
}

/* ===== Investment Details ===== */
.investment-details {
    display: none;
    background-color: #fff;
    padding: 20px;
    margin: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.investment-details h1,
.investment-details h2 {
    color: #333;
}

.investment-details p,
.investment-details ul,
.investment-details table {
    margin: 10px 0;
}

/* ===== Table Styles ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 10px;
    text-align: left;
}

th {
    background-color: #f4f4f4;
}

/* ===== Footer ===== */
.footer-columns {
    display: flex;
    justify-content: center;
    background-color: #333;
    color: #fff;
    padding: 20px;
}

.footer-column {
    margin: 0 20px;
}

.footer-column h3 {
    margin-bottom: 10px;
}

.footer-column a {
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.footer-bottom {
    background-color: #222;
    color: #fff;
    padding: 10px 20px;
    text-align: center;
}

.footer-bottom a {
    color: #fff;
    text-decoration: none;
}

/* ===== Agent Login Button ===== */
.agent-login {
    display: inline-block;
    margin-left: 20px;
}

.agent-login button {
    background-color: #ff9900;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.agent-login button:hover {
    background-color: #e07c00;
}
