.calls-container {
    width: 100%;
    max-width: var(--column-width);
    margin: 0 auto;
}
h1 {
    margin-bottom: 1.5rem;
    color: var(--color-theme-2);
}
.contact-selector {
    margin-bottom: 1.5rem;
}
.contact-selector select {
    padding: 0.5rem;
    width: 100%;
    max-width: 400px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-family: var(--font-body);
}
.content-area {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.contact-box {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    border: 2px solid transparent;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.contact-box.active {
    border: 2px solid var(--color-theme-1);
}
.contact-details {
    margin: 1rem 0;
}
.detail-row {
    display: flex;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}
.label {
    flex: 0 0 130px;
    font-weight: bold;
    color: var(--color-theme-2);
}
.value {
    flex: 1;
}
.notes-area {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.notes-container {
    margin-top: 1rem;
}
textarea {
    width: 95%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-body);
    resize: vertical;
    margin-bottom: 1rem;
}
.call-actions,
.notes-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.action-button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    background-color: var(--color-theme-2);
    color: white;
    cursor: pointer;
    transition: background-color 0.2s;
}
.action-button:hover {
    background-color: #345c84;
}
.call-button:hover,
.call-button {
    background-color: forestgreen;
}
.hangup-button:hover,
.hangup-button {
    background-color: red;
}
.edit-button {
    background-color: orange;
}
.save-button {
    background-color: #28a745;
}
.save-button:hover {
    background-color: #218838;
}
.notes-history {
    margin-top: 2rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}
.history-entry {
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 4px;
}
.history-timestamp {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
    .content-area {
        flex-direction: row;
        align-items: flex-start;
    }
    .contact-box {
        flex: 0 0 40%;
    }
    .notes-area {
        flex: 1;
    }
}
