html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto Mono', 'Source Code Pro', monospace;
    font-size: 13px; /* Uniform text size for DOS look */
    background: #FFFFFF;
    color: #000000; /* Base text: black for DOS look */
}

.container {
    display: flex;
    width: 100vw;
    height: calc(100vh - 60px); /* adjust 60px if header is taller/shorter */
    background: #FFFFFF;
    color: #555555;
    box-sizing: border-box;
}


textarea {
    width: 100%;
    height: 60px;
    background: #FFFFFF;
    color: #000000;
    border: 1px solid #AAAAAA;
    font-family: inherit;
    font-size: 13px; /* Same size as body text - DOS style */
}

textarea[name="note_text"] {
    height: 90px;
    width: calc(100% - 24px);
    border: 2px solid #000000;
    background-color: #FFFFFF;
    background-image:
        url('notepad-top.png'),
        url('notepad-corner.png');
    background-repeat: repeat-x, no-repeat;
    background-position: top left, right bottom;
    background-size: auto 24px, 32px 32px;
    box-shadow: 0 4px 16px 0 rgba(100,100,100,0.18), 0 1.5px 0 #AAA;
    border-radius: 6px;
    padding-top: 28px;
    padding-bottom: 16px;
    padding-right: 16px;
    padding-left: 8px;
    font-family: inherit;
    font-size: inherit;
    resize: vertical;
    margin: 5px;
}

.note {
    margin: 5px 0;
    padding: 5px;
    background: #F0F0F0;
    border: 1px solid #AAAAAA;
    color: #000000;
    border-radius: 0;
}

.note small {
    color: #666666; /* Gray for less important info - DOS style */
    font-size: 13px; /* Same size as body text */
}

.note a {
    color: #5555FF !important;
    text-decoration: underline !important;
    font-weight: normal;
}

.actions a {
    margin-right: 5px;
    font-size: inherit;
    color: #5555FF !important;
    text-decoration: underline !important;
    font-weight: normal;
}


.footer {
    position: absolute;
    right: 10px;
    bottom: 10px;
    color: #666666; /* Gray for less important info - DOS style */
    font-size: 13px;
}

/* Headings: only bold, no size difference, black - DOS style */
h1, h2, h3, h4, h5, h6 {
    font-size: 13px; /* Same size as body text */
    font-weight: bold;
    margin: 0 0 8px 0;
    color: #000000;
}

/* Frozen cases heading specific styling */
.section-header h2 {
    margin: 30px 0 5px 0; /* More space from top, less space from bottom */
}

/* Button styling with EGA colors and monospace font */
button, .save-button, .cancel-button, .add-button {
    font-family: 'Roboto Mono', 'Source Code Pro', monospace;
    font-size: 13px;
    border: 1px solid #000000;
    padding: 6px 12px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

/* Primary buttons - bold */
.save-button, .add-button {
    font-weight: bold;
    background: #0000AA; /* EGA Blue */
    color: white;
}

.save-button:hover, .add-button:hover {
    background: #000088;
}

/* Secondary buttons - regular weight */
.cancel-button {
    font-weight: normal;
    background: #AAAAAA; /* EGA Gray */
    color: black;
}

.cancel-button:hover {
    background: #888888;
}

/* Won! button - bright green (EGA) */
.action-link[href*="won=1"] {
    background: #00AA00 !important; /* EGA Bright Green */
    color: white !important;
    font-weight: bold;
    font-family: 'Roboto Mono', 'Source Code Pro', monospace;
    font-size: 13px;
    padding: 6px 12px;
    border: 1px solid #000000;
    border-radius: 3px;
    text-decoration: none;
    display: inline-block;
}

.action-link[href*="won=1"]:hover {
    background: #008800 !important;
}

/* Freeze button - bright cyan (EGA) */
.action-link[href*="freeze=1"] {
    background: #00AAAA !important; /* EGA Bright Cyan */
    color: white !important;
    font-weight: bold;
    font-family: 'Roboto Mono', 'Source Code Pro', monospace;
    font-size: 13px;
    padding: 6px 12px;
    border: 1px solid #000000;
    border-radius: 3px;
    text-decoration: none;
    display: inline-block;
}

.action-link[href*="freeze=1"]:hover {
    background: #008888 !important;
}

/* Defrost button - bright cyan (EGA) */
.action-link[href*="defrost=1"] {
    background: #00AAAA !important; /* EGA Bright Cyan */
    color: white !important;
    font-weight: bold;
    font-family: 'Roboto Mono', 'Source Code Pro', monospace;
    font-size: 13px;
    padding: 6px 12px;
    border: 1px solid #000000;
    border-radius: 3px;
    text-decoration: none;
    display: inline-block;
}

.action-link[href*="defrost=1"]:hover {
    background: #008888 !important;
}

/* Links everywhere: bright blue and underlined - DOS style */
a {
    color: #5555FF !important;
    text-decoration: underline !important;
    font-weight: normal;
    font-size: 13px; /* Same size as body text */
}

/* Header bar styling for DOS look */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background: #F0F0F0;
    border-bottom: 2px solid #AAAAAA;
    color: #000000;
    position: relative;
    width: 100vw;
    min-height: 60px;
    box-sizing: border-box;
    font-size: 13px; /* Uniform font size */
}

.header-left {
    display: flex;
    align-items: center;
}

.header-left a {
    display: inline-block;
}

.header-left img {
    height: 40px;
    margin-right: 15px;
    /* Remove filter to keep SVG logo in color */
    filter: none !important;
}

.header-center {
    flex: 1;
    text-align: center;
}

.header-center div {
    margin: 0;
    font-family: monospace;
    font-size: 13px;
    color: #333;
    line-height: 1.2;
}

.header-center pre {
    margin: 0;
}

.header-right {
    min-width: 200px;
    text-align: right;
}

.header-right div {
    margin-bottom: 4px;
    font-size: 13px;
}

.header-right .date-info {
    color: #000;
}

.header-right .date-info span {
    font-weight: bold;
    color: #000;
}

.header-right .date-info .day {
    color: #666;
}

.header-right .stats-info {
    color: #666;
}

.header-right .stats-info span {
    color: #5555FF;
    font-weight: bold;
}

.header-right .user-info {
    margin-right: 10px;
    color: #666;
    font-size: 13px;
}

.header-right .nav-link {
    text-decoration: none;
    color: #5555FF;
    font-weight: normal;
    margin-right: 10px;
    font-size: 13px;
}

.header-right .nav-link:last-child {
    margin-right: 0;
}


/* New Layout Styles */
.main-layout {
    display: flex;
    gap: 20px;
    padding: 20px;
    min-height: calc(100vh - 100px);
    width: 100%;
    box-sizing: border-box;
}

.left-column {
    flex: 2;
    min-width: 0;
    width: 66.666%;
}

.right-column {
    flex: 1;
    min-width: 0;
    width: 33.333%;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.secondary-link {
    background: #F0F0F0;
    color: #333;
    padding: 6px 12px;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #AAAAAA;
    font-size: 13px; /* Same size as body text - DOS style */
    transition: background-color 0.2s;
}

.secondary-link:hover {
    background: #E0E0E0;
    color: #333;
}

.section-header h1 {
    margin: 0;
    font-size: 13px; /* Same size as body text - DOS style */
    font-weight: bold;
    color: #000000;
}

.add-button {
    background: #5555FF;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px; /* Same size as body text - DOS style */
}

.add-button:hover {
    background: #4444DD;
}

.message {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
    border: 1px solid;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.add-form {
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #AAAAAA;
    background: #F9F9F9;
    border-radius: 4px;
}

.add-form h3 {
    margin: 0 0 15px 0;
    font-size: 13px; /* Same size as body text - DOS style */
    font-weight: bold;
    color: #000000;
}

.form-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.form-row label {
    min-width: 100px;
    font-weight: bold;
    font-size: 13px; /* Same size as body text - DOS style */
    color: #000000;
}

.form-row input,
.form-row select {
    flex: 1;
    padding: 5px;
    border: 1px solid #AAAAAA;
    border-radius: 3px;
    font-size: 13px; /* Same size as body text - DOS style */
    font-family: inherit;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.save-button {
    background: #5555FF;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px; /* Same size as body text - DOS style */
}

.cancel-button {
    background: #AAAAAA;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px; /* Same size as body text - DOS style */
}

.table-container {
    overflow-x: auto;
}

.business-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #AAAAAA;
    background: white;
}

.business-table th {
    background: #F0F0F0;
    border: 1px solid #AAAAAA;
    padding: 8px;
    text-align: left;
    font-weight: bold;
    font-size: 13px; /* Same size as body text - DOS style */
}

.business-table td {
    border: 1px solid #AAAAAA;
    padding: 8px;
    font-size: 13px; /* Same size as body text - DOS style */
}

.business-table .edit-mode {
    width: 100%;
    padding: 4px;
    border: 1px solid #AAAAAA;
    border-radius: 3px;
}

.business-table tr.highest-value {
    background: #FFFF55;
}

.empty-state {
    text-align: center;
    color: #AAAAAA;
    font-style: italic;
}

.action-link {
    color: #5555FF;
    text-decoration: underline;
    margin-right: 10px;
}

.action-link:hover {
    color: #3333CC;
}

/* Right Column Styles */
.right-section {
    background: #F9F9F9;
    border: 1px solid #AAAAAA;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}

.right-section h3 {
    margin: 0 0 15px 0;
    font-size: 13px; /* Same size as body text - DOS style */
    font-weight: bold;
    color: #000000;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.stat-item {
    text-align: center;
    padding: 10px;
    background: white;
    border: 1px solid #DDD;
    border-radius: 4px;
}

.stat-number {
    font-size: 13px; /* Same size as body text - DOS style */
    font-weight: bold;
    color: #5555FF;
}

.stat-label {
    font-size: 13px; /* Same size as body text - DOS style */
    color: #666;
    margin-top: 5px;
}

.activity-list {
    max-height: 200px;
    overflow-y: auto;
}

.activity-item {
    padding: 8px 0;
    border-bottom: 1px solid #EEE;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-title {
    font-weight: bold;
    font-size: 13px; /* Same size as body text - DOS style */
    margin-bottom: 3px;
}

.activity-meta {
    font-size: 13px; /* Same size as body text - DOS style */
    color: #666;
}

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-action-btn {
    background: #F0F0F0;
    color: #333;
    padding: 8px 12px;
    border: 1px solid #AAAAAA;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px; /* Same size as body text - DOS style */
}

.quick-action-btn:hover {
    background: #E0E0E0;
}


/* Contact Detail Page Styles */
.info-section {
    background: #F9F9F9;
    border: 1px solid #AAAAAA;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}

.info-section h3 {
    margin: 0 0 15px 0;
    font-size: 13px; /* Same size as body text - DOS style */
    font-weight: bold;
    color: #000000;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-item.full-width {
    grid-column: 1 / -1;
}

.info-item label {
    font-weight: bold;
    color: #000000;
    font-size: 13px; /* Same size as body text - DOS style */
}

.info-item span {
    color: #333;
    font-size: 13px; /* Same size as body text - DOS style */
    padding: 5px 0;
}

/* Won & Lost Page Styles */
.filter-section {
    margin-bottom: 20px;
    padding: 15px;
    background: #F9F9F9;
    border: 1px solid #AAAAAA;
    border-radius: 4px;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    background: #F0F0F0;
    color: #333;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #AAAAAA;
    font-size: 13px; /* Same size as body text - DOS style */
    transition: all 0.2s;
}

.filter-btn:hover {
    background: #E0E0E0;
    color: #333;
}

.filter-btn.active {
    background: #00FF00;
    color: #000000;
    border-color: #00FF00;
}

.deals-container {
    display: flex;
    gap: 20px;
    min-height: 400px;
}

.deals-column {
    flex: 1;
    background: #F9F9F9;
    border: 1px solid #AAAAAA;
    border-radius: 4px;
    padding: 15px;
}

.deals-column h3 {
    margin: 0 0 15px 0;
    font-size: 13px; /* Same size as body text - DOS style */
    font-weight: bold;
    color: #000000;
    text-align: center;
}

.deals-list {
    max-height: 500px;
    overflow-y: auto;
}

.deal-item {
    background: white;
    border: 1px solid #DDD;
    border-radius: 4px;
    padding: 12px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.deal-item.won {
    border-left: 4px solid #28a745;
}

.deal-item.lost {
    border-left: 4px solid #dc3545;
}

.deal-item:last-child {
    margin-bottom: 0;
}

.deal-name {
    font-weight: bold;
    color: #333;
    flex: 1;
    margin-right: 10px;
    font-size: 13px; /* Same size as body text - DOS style */
}

.deal-value {
    color: #555;
    font-weight: bold;
    font-size: 13px; /* Same size as body text - DOS style */
}

.empty-deals {
    text-align: center;
    color: #AAAAAA;
    font-style: italic;
    padding: 20px;
}

@media (max-width: 768px) {
    .main-layout {
        flex-direction: column;
        gap: 15px;
    }
    
    .left-column,
    .right-column {
        flex: none;
        width: 100%;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .header-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .deals-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .filter-buttons {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 600px) {
    .container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
}

/* Deal Detail Page Styles */
.deal-detail-container {
    background: white;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 24px;
}

.deal-info h2 {
    color: #333;
    margin-bottom: 24px;
    font-size: 24px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-item label {
    font-weight: 600;
    color: #666;
    font-size: 14px;
}

.detail-item span {
    color: #333;
    font-size: 16px;
}

.status-badge {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
}

.contact-details {
    background: white;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-item {
    margin-bottom: 12px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item strong {
    font-size: 18px;
    color: #333;
}

.contact-item label {
    font-weight: 600;
    color: #666;
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
}

.contact-item a {
    color: #1976d2;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-actions {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.action-button {
    display: block;
    padding: 12px 16px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
    transition: background-color 0.2s;
}

.action-button:hover {
    background: #e0e0e0;
}

.action-button.danger {
    background: #ffebee;
    color: #d32f2f;
}

.action-button.danger:hover {
    background: #ffcdd2;
}

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

.deal-link {
    color: #1976d2;
    text-decoration: none;
    font-weight: 500;
}

.deal-link:hover {
    text-decoration: underline;
}

/* Notes Section Styles */
.notes-section {
    background: white;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 24px;
}

.notes-section h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 20px;
}

.add-note-form {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    min-height: 80px;
}

.form-group textarea:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.2);
}

.btn-primary {
    background: #1976d2;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background: #1565c0;
}

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

.note-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.note-item:last-child {
    margin-bottom: 0;
}

.note-content {
    color: #333;
    line-height: 1.5;
    margin-bottom: 12px;
    white-space: pre-wrap;
    font-size: 15px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.note-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
}

.note-date {
    color: #666;
    font-size: 12px;
    font-style: italic;
}

.no-notes {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px dashed #ddd;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}


/* Login Page Styles */
.login-error {
    color: red;
}

.login-ascii {
    text-align: center;
    margin-top: 30px;
    font-family: monospace;
    font-size: 13px;
    color: #333;
}

/* Form Display Styles */
.form-display-none {
    display: none;
}

.form-display-block {
    display: block;
}

/* Edit Mode Styles */
.edit-mode {
    display: none;
}

.display-mode {
    display: inline;
}

/* Inline Text Styles */
.monospace-text {
    font-family: monospace;
    font-size: 12px;
}

/* Quick Action Button Styles */
.quick-action-btn {
    text-decoration: none;
    text-align: center;
}

/* Notes Section Styles for Left Column */
.notes-section {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 20px;
    box-shadow: none;
}

.notes-section h3 {
    margin: 0 0 15px 0;
    font-size: 13px;
    font-weight: bold;
    color: #000000;
}

.add-note-form {
    margin-bottom: 20px;
}

.add-note-form textarea {
    width: 100%;
    min-height: 60px;
    padding: 4px;
    border: 1px solid #000000;
    border-radius: 0;
    font-family: inherit;
    font-size: 13px;
    resize: vertical;
    background: white;
    box-shadow: none;
}

.add-note-form textarea:focus {
    outline: none;
    border-color: #000000;
    box-shadow: none;
}

.notes-feed {
    max-height: 400px;
    overflow-y: auto;
}

.note-feed-item {
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #E0E0E0;
    background: transparent;
    box-shadow: none;
}

.note-feed-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.note-feed-content {
    font-size: 13px;
    line-height: 1.4;
    color: #333;
}

.note-date {
    color: #666;
    font-weight: bold;
}

.note-actions {
    float: right;
    margin-left: 10px;
}

.note-actions a {
    color: #5555FF;
    text-decoration: underline;
    font-size: 12px;
    margin-left: 5px;
}

.note-actions a:hover {
    color: #3333CC;
}

.no-notes {
    text-align: center;
    color: #AAAAAA;
    font-style: italic;
    padding: 20px;
    background: transparent;
    border-radius: 0;
    border: none;
}

/* Action Links Styles */
.action-links {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.action-link {
    color: #5555FF;
    text-decoration: underline;
    font-size: 13px;
    font-weight: normal;
}

.action-link:hover {
    color: #3333CC;
}

.action-link.danger {
    color: #d32f2f;
}

.action-link.danger:hover {
    color: #b71c1c;
}

/* Deal Card Styles */
.deal-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.deal-card-hero {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
}

.deal-card-hero h2 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #212529;
    font-weight: 600;
}

.deal-card-hero p {
    margin: 0;
    font-size: 14px;
    color: #495057;
    line-height: 1.5;
}

.deal-card-contact {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
}

.deal-card-contact p {
    margin: 0;
    font-size: 14px;
    color: #495057;
    line-height: 1.5;
}

.deal-card-history p {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
    line-height: 1.5;
}

/* Contact Card Styles */
.contact-card {
    background: white;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.contact-overview h2 {
    margin: 0 0 12px 0;
    font-size: 24px;
    color: #333;
    font-weight: 600;
}

.contact-overview p {
    margin: 0 0 20px 0;
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

.notes-section {
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.notes-section h3 {
    margin: 0 0 12px 0;
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.notes-section p {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.opportunities-section {
    margin: 20px 0 0 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.opportunities-section h3 {
    margin: 0 0 12px 0;
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.opportunities-section p {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.opportunities-section strong {
    color: #333;
    font-weight: 600;
}

.opportunities-section em {
    font-style: italic;
    color: #666;
}

/* Edit Form Styles */
.edit-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    background: white;
    color: #333;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.2);
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}
