/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

/* Header */
header {
    width: 100%;
    background-color: #5A5B9F;
    color: white;
    font-size: 1.5rem;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 10px;
    height: 60px;
    box-sizing: border-box;
}

.container::-webkit-scrollbar {
    display: none;
}

.container {
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.logo-container {
    display: flex;
    align-items: center;
}

/* Dashboard-specific logo container */
header .logo-container {
    flex: 0 0 auto;
    height: 100%;
}

/* Login and Register page logo container */
.login-container .logo-container,
.register-container .logo-container {
    justify-content: center;
    margin-bottom: 20px;
}

#company-logo {
    height: 50px; /* Reduced height to fit within header */
    width: auto;
}

/* Login and Register specific styles */
.login-container,
.register-container {
    width: 300px;
    margin: 50px auto;
    padding: 20px;
    background-color: #f7f7f7;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.login-container h2,
.register-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

header h1 {
    flex: 1;
    text-align: center;
    margin: 0;
    font-size: 1.5em;
}

/* Layout */
#content {
    display: flex;
    flex: 1;
    overflow: hidden;
}

#left-pane {
    width: 30%;
    padding: 1rem;
    overflow-y: auto;
    background-color: #F5F5DC;
    border-right: 1px solid #ccc;
}

#right-pane {
    width: 70%;
    padding: 1rem;
    overflow-y: auto;
    position: relative;
}

/* Responsive design for smaller screens */
@media screen and (max-width: 900px) {
    #content {
        flex-direction: column;
    }

    #left-pane, #right-pane {
        width: 100%;
        height: auto;
    }
}

#right-pane::before {
    content: "";
    background-image: url('../images/SCICLOGO-removebg-preview.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.1; /* Adjust this value to make it more or less transparent */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

#properties-table th, #deleted-properties-table th {
    background-color: #5A5B9F;
    color: white;
    font-weight: bold;
    position: sticky;
    top: 0;
    z-index: 1;
    cursor: pointer;
    width: auto;
}

/* Property Details */
#property-details table {
    width: 100%;
    border-collapse: collapse;
}

#property-details th {
    background-color: #5A5B9F;
    color: white;
}

#property-details h2 {
    margin-bottom: 1rem;
}

#property-details th, #property-details td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.basic-details, .full-details {
    width: 100%;
    border-collapse: collapse;
    transition: display 0.3s ease-out;
}

.basic-details th, .basic-details td,
.full-details th, .full-details td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

/* Upload Buttons */
.upload-buttons {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1rem;
}

.upload-buttons button {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    color: white;
    background-color: #5A5B9F;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.upload-buttons button:hover {
    background-color: #4A4B8F;
}

/* Misc */
.sort-arrow {
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.selected {
    background-color: #d3d3d3;
}

/* Action Items */
.action-items {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.phone-numbers, .notes {
    width: 48%;
}

#notes-area {
    width: 100%;
    margin-bottom: 10px;
}

#phone-numbers-list div {
    margin-bottom: 5px;
}

#phone-numbers-list select {
    margin-left: 10px;
}

/* Collapsible Sections */
.collapsible {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    position: relative;
}

.collapsible:after {
    content: '\2212';
    color: #777;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.collapsible.collapsed:after {
    content: '\002B';
}

.content {
    padding: 0 18px;
    max-height: none;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: #f1f1f1;
}

.content.collapsed {
    max-height: 0;
}

/* Toggle Details */
#toggle-details {
    background-color: #5A5B9F;
    color: white;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}

#toggle-details:hover {
    background-color: #4A4B8F;
}

/* Phone Number Items */
.phone-number-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.phone-number {
    flex: 1;
    margin-right: 10px;
}

.phone-status {
    margin-right: 10px;
}

.call-button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 4px 2px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.action-buttons {
    display: flex;
    align-items: center;
}

.status-button, .delete-button, .reactivate-button {
    padding: 5px 10px;
    margin: 0 2px;
    border: none;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color 0.3s ease, color 0.3s ease;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-button {
    font-size: 1.2em;
    background: none;
   /* width: 30px;*/
}

.status-button.go:hover,
.status-button.go.active {
    background-color: #4CAF50 !important;
}

.status-button.no-go:hover,
.status-button.no-go.active {
    background-color: #f44336 !important;
}

.delete-button, .reactivate-button {
    background-color: #e0e0e0;
    color: #333;
    font-size: 0.9em;
}

.delete-button:hover {
    background-color: #f44336;
    color: white;
}

.reactivate-button:hover {
    background-color: #4CAF50;
    color: white;
}

tr.go {
    background-color: rgba(76, 175, 80, 0.1);
}

tr.no-go {
    background-color: rgba(244, 67, 54, 0.1);
}

tr.selected {
    outline: 2px solid #5A5B9F;
    outline-offset: -2px;
}

#notes-section {
    margin-top: 20px;
}

#note-textarea {
    width: 100%;
    margin-bottom: 10px;
}

.notes-section {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: 20px;
}

.notes-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.notes-section textarea {
    width: 100%;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s ease;
    margin-bottom: 15px;
}

.notes-section textarea:focus {
    border-color: #007bff;
    outline: none;
}

.add-note-button {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.add-note-button:hover {
    background-color: #0056b3;
}

.notes-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.note {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    position: relative;
    transition: all 0.3s ease;
}

.note:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.note p {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
    line-height: 1.5;
}

.note small {
    color: #888;
    font-size: 14px;
}

.note .delete-note {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #dc3545;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.note:hover .delete-note {
    background-color: #c82333;
}

.note .delete-note:hover {
    color: #bd2130;
}

/* Scrollbar styling */
.notes-list::-webkit-scrollbar {
    width: 8px;
}

.notes-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.notes-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.notes-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Phone Status Buttons */
.phone-status-buttons {
    display: flex;
    margin-top: 5px;
}

.phone-status-buttons button {
    margin-right: 5px;
    padding: 5px 10px;
    font-size: 12px;
    border: 1px solid #ccc;
    background-color: #f8f8f8;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.phone-status-buttons button.active {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

li.status-good {
    background-color: #e6ffe6;
}

li.status-bad {
    background-color: #ffe6e6;
}

li.status-disconnected {
    background-color: #e6e6e6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.delete-button, .reactivate-button {
    background-color: #ff4d4d;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 3px;
    transition: opacity 0.3s ease;
}

.reactivate-button {
    background-color: #4CAF50;
}

.delete-button:hover, .reactivate-button:hover {
    opacity: 0.8;
}

.no-properties {
    text-align: center;
    padding: 20px;
    font-style: italic;
    color: #666;
}

.sort-icon {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;
}

th {
    position: relative;
    padding-right: 20px;
}

th .sort-icon {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
}

.sort-icon.asc {
    border-left: 5px solid transparent;
    border-bottom: 5px solid #333;
}

.sort-icon.desc {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #333;
}

.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner-icon {
    width: 80px;
    height: 80px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #5A5B9F;
    outline-offset: 2px;
}

/* Market Analysis Styles */
.market-analysis-container {
    height: calc(100vh - 60px); /* Adjust 60px to match your header height */
    overflow-y: auto;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.market-analysis-container::-webkit-scrollbar {
    display: none;  /* Chrome, Safari and Opera */
}

.market-data {
    overflow-x: auto;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 20px;
}

.market-data::-webkit-scrollbar {
    display: none;
}

/* Ensure the table header stays fixed when scrolling */
.market-data table {
    border-collapse: separate;
    border-spacing: 0;
}

.market-data thead th {
    position: sticky;
    top: 0;
    background-color: #e9ecef;
    z-index: 10;
}

.analysis-forms {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.form-section {
    width: 48%;
}

.analysis-form {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 20px;
}

/* Form groups for market analysis */
.market-analysis-container .form-group {
    margin-bottom: 15px;
}

.market-analysis-container .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.market-analysis-container .form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    box-sizing: border-box;
}

.market-analysis-container .zip-group input {
    width: 100% !important;
}

.market-analysis-container .city-state-group,
.market-analysis-container .price-group,
.market-analysis-container .expense-group,
.market-analysis-container .cap-rate-group,
.market-analysis-container .market-rent-group {
    display: flex;
    gap: 10px;
}

.market-analysis-container .city-state-group input,
.market-analysis-container .price-group input,
.market-analysis-container .expense-group input,
.market-analysis-container .cap-rate-group input,
.market-analysis-container .market-rent-group input {
    flex: 1;
    width: 100%;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .market-analysis-container {
        height: auto;
        max-height: calc(100vh - 60px);
    }

    .analysis-forms {
        flex-direction: column;
    }

    .form-section {
        width: 100%;
    }

    .market-analysis-container .market-rent-group,
    .market-analysis-container .cap-rate-group {
        flex-wrap: wrap;
    }
    
    .market-analysis-container .market-rent-group input,
    .market-analysis-container .cap-rate-group input {
        flex-basis: calc(50% - 5px);
    }
}

input:disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
}

.data-table {
    border-collapse: collapse;
    width: 100%;
}

.data-table th, .data-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.data-table th {
    background-color: #f2f2f2;
}

.data-table .editable {
    cursor: pointer;
}

.data-table .editable:hover {
    background-color: #f0f0f0;
}

.data-table input {
    width: 100%;
    box-sizing: border-box;
    padding: 5px;
}

.editable {
    padding: 5px;
    border: 1px solid transparent;
    transition: border-color 0.3s;
}

.editable:hover {
    border-color: #ddd;
}

.editable:focus {
    outline: none;
    border-color: #007bff;
    background-color: #f8f9fa;
}
.form-group input[readonly] {
    background-color: #f0f0f0;
    cursor: not-allowed;
}

.btn-edit {
    display: inline-block;
    padding: 5px 10px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 3px;
}

.btn-edit:hover {
    background-color: #45a049;
}


/* Responsive design for smaller screens */
@media screen and (max-width: 768px) {
    .market-rent-group {
        flex-wrap: wrap;
    }
    
    .market-rent-group input {
        flex-basis: calc(50% - 5px);
    }

    .cap-rate-group {
        flex-wrap: wrap;
    }
    
    .cap-rate-group input {
        flex-basis: calc(50% - 5px);
    }
}

/* Responsive design for smaller screens */
@media screen and (max-width: 900px) {
    #content {
        flex-direction: column;
    }

    #left-pane, #right-pane {
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 600px) {
    table, thead, tbody, th, td, tr {
        display: block;
    }
    
    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    tr {
        margin-bottom: 10px;
    }
    
    td {
        border: none;
        position: relative;
        padding-left: 50%;
    }
    
    td::before {
        content: attr(data-label);
        position: absolute;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
    }
}

.collapsible-section {
    margin-bottom: 15px;
}

.collapsible {
    background-color: #f8f9fa;
    color: #495057;
    cursor: pointer;
    padding: 15px 20px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.collapsible:hover {
    background-color: #e9ecef;
}

.collapsible .icon {
    transition: transform 0.3s ease;
}

.collapsible:not(.collapsed) .icon {
    transform: rotate(180deg);
}

.details-button {
    border-left: 5px solid #4CAF50;
}

.details-button:not(.collapsed) {
    background-color: #4CAF50;
    color: white;
}

.action-button {
    border-left: 5px solid #007bff;
}

.action-button:not(.collapsed) {
    background-color: #007bff;
    color: white;
}

.content {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: #ffffff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.content:not(.collapsed) {
    max-height: 1000px; /* Adjust as needed */
    padding: 15px 18px;
}

.full-details {
    width: 100%;
    border-collapse: collapse;
}

.full-details th, .full-details td {
    padding: 10px;
    border-bottom: 1px solid #e9ecef;
    text-align: left;
}

.full-details th {
    font-weight: bold;
    color: #495057;
}

.action-items {
    display: flex;
    justify-content: space-between;
}

.phone-numbers, .notes-section {
    width: 48%;
}

.note-textarea {
    width: 100%;
    margin-bottom: 10px;
}

.add-note-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
}

.add-note-button:hover {
    background-color: #0056b3;
}

.phone-list {
    list-style-type: none;
    padding: 0;
}

.phone-list li {
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.phone-list li:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.phone-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.phone-info .name {
    font-weight: bold;
}

.phone-info .number {
    font-family: monospace;
}

.phone-info .type {
    color: #6c757d;
    font-size: 0.9em;
}

.phone-status-buttons {
    display: flex;
    justify-content: flex-end;
}

.status-button {
    background-color: #e9ecef;
    border: none;
    padding: 5px 10px;
    margin-left: 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.status-button:hover {
    background-color: #dee2e6;
}

.status-button.active {
    background-color: #28a745;
    color: white;
}

.status-button.active[data-status="bad"] {
    background-color: #dc3545;
}

.status-button.active[data-status="disconnected"] {
    background-color: #6c757d;
}

/* Notes Section */
.notes-section {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

.notes-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.note-input {
    display: flex;
    margin-bottom: 25px;
}

.note-input textarea {
    flex-grow: 1;
    border: 2px solid #e0e0e0;
    border-radius: 8px 0 0 8px;
    padding: 15px;
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.note-input textarea:focus {
    border-color: #007bff;
    outline: none;
}

.add-note-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0 25px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 16px;
    font-weight: 600;
}

.add-note-button:hover {
    background-color: #0056b3;
}

.notes-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
    flex-grow: 1;
}

.note {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    position: relative;
    transition: all 0.3s ease;
}

.note:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.note p {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
    line-height: 1.5;
}

.note small {
    color: #888;
    font-size: 14px;
}

.note .delete-note {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: transparent;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 16px;
    transition: color 0.3s ease;
}

.note .delete-note:hover {
    color: #bd2130;
}

/* Scrollbar styling */
.notes-list::-webkit-scrollbar {
    width: 8px;
}

.notes-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.notes-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.notes-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

#notes-section {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#note-textarea {
    width: 100%;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 10px;
    resize: vertical;
}

#add-note-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#add-note-button:hover {
    background-color: #0056b3;
}

.note {
    background-color: white;
    border-radius: 4px;
    padding: 10px;
    margin-top: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.note p {
    margin: 0 0 5px 0;
}

.note small {
    color: #6c757d;
}

.note button {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    float: right;
    transition: background-color 0.3s ease;
}

.note button:hover {
    background-color: #c82333;
}

.collapsible-section {
    margin-bottom: 15px;
}

.collapsible {
    background-color: #f8f9fa;
    color: #495057;
    cursor: pointer;
    padding: 15px 20px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
}

.collapsible:hover {
    background-color: #e9ecef;
}

.collapsible .button-text {
    display: inline-block;
    transition: all 0.3s ease;
    transform-origin: left;
}

.collapsible.collapsed {
    width: 200px; /* Adjust this value as needed */
}

.collapsible.collapsed .button-text {
    transform: scale(1);
    width: 100%;
    text-align: center;
}

/* Remove focus outline from all buttons */
button:focus {
    outline: none;
}

/* Override the general focus styles for buttons, inputs, and textareas */
button:focus,
input:focus,
textarea:focus {
    outline: none;
    outline-offset: 0;
}

/* Right-align the Balance column */
/* Style the Balance column */
td[data-label="Balance"] {
    text-align: right;
    padding-right: 10px;
}

td[data-label="Balance"] {
    font-family: 'Roboto', sans-serif; 
    font-feature-settings: 'tnum' on, 'lnum' on;
}
/* Action column styles */
td[data-label="Action"] {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
}

.status-button, .delete-button {
    flex: 0 0 auto;
}

/* Existing styles for status buttons */
.status-button {
    font-size: 1.2em;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.status-button.go:hover,
.status-button.go.active {
    color: #4CAF50;
}

.status-button.no-go:hover,
.status-button.no-go.active {
    color: #f44336;
}

/* Existing styles for delete button */
.delete-button {
    background-color: #ff4d4d;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 3px;
    transition: opacity 0.3s ease;
}

.delete-button:hover {
    opacity: 0.8;
}

.zillow-link {
    display: inline-block;
    margin-left: 10px;
    padding: 2px 5px;
    background-color: #006aff; /* Zillow's blue color */
    color: white;
    text-decoration: none;
    font-size: 0.8em;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.zillow-link:hover {
    background-color: #004dc1;
}
.login-container {
    width: 300px;
    margin: 100px auto;
    padding: 20px;
    background-color: #f7f7f7;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.login-container {
    width: 300px;
    margin: 50px auto; /* Reduced top margin to accommodate logo */
    padding: 20px;
    background-color: #f7f7f7;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.logo-container {
    text-align: center;
}

.logo {
    max-width: 80%; /* Adjust as needed */
    height: auto;
}

.login-container h2 {
    text-align: center;
    color: #333;
}

#loginForm, #registerForm, #forgot_password_form, #resetPasswordForm {
    display: flex;
    flex-direction: column;
}

#loginForm input, #registerForm input, #forgot_password_form input, #resetPasswordForm input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    box-sizing: border-box;
}

#loginForm button, #registerForm button, #forgot_password_form button, #resetPasswordForm button {
    width: 100%;
    padding: 10px;
    background-color: #5A5B9F;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

#loginForm button:hover, #registerForm button:hover, #forgot_password_form button:hover, #resetPasswordForm button:hover {
    background-color: #4A4B8F;
}

.login-container p {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.login-container a {
    color: #5A5B9F;
    text-decoration: none;
}

.login-container a:hover {
    text-decoration: underline;
}

#message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 3px;
    text-align: center;
    font-size: 14px;
}

#message .error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

#message .success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

#message p {
    margin: 0;
    padding: 8px 12px;
    border-radius: 4px;
}

#message .error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

#message .success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}
.user-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
    padding-right: 20px; /* Add padding to the right */
}

.user-controls span {
    font-size: 0.85em; /* Slightly smaller font */
    color: #f0f0f0;
}

#signoutButton {
    padding: 5px 10px; /* Reduced padding for a smaller button */
    background-color: transparent;
    color: #f0f0f0;
    border: 1px solid #f0f0f0;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8em; /* Smaller font size */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#signoutButton:hover {
    background-color: rgba(240, 240, 240, 0.1);
    color: #ffffff;
}

#signoutButton:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(240, 240, 240, 0.5);
}
.dashboard-dropdown {
    position: relative;
    display: inline-block;
    flex: 1;
    text-align: center;
}

.dropbtn {
    background-color: transparent;
    color: white;
    font-size: 1.5em;
    font-weight: bold;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.dashboard-dropdown .dropbtn {
    background-color: transparent !important;
}

.dashboard-dropdown.active .dropbtn {
    background-color: transparent !important;
}

.dropdown-arrow {
    font-size: 0.7em;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    text-align: left;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dashboard-dropdown:hover .dropdown-content,
.dashboard-dropdown.active .dropdown-content {
    display: block;
}

.dashboard-dropdown:hover .dropdown-arrow,
.dashboard-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}