body {
    font-family: Arial, sans-serif;
    margin: 2em;
}

#app {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#app h1 {
    text-align: center;
    margin-bottom: 1.5em;
}

#branches-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: center;
}

.branch-column {
    display: flex;
    flex-direction: column;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 1em 1.5em;
    min-width: 260px;
    background: #f9f9f9;
}

.branch-title {
    text-align: center;
    margin: 0 0 0.75em 0;
    font-size: 1.1em;
}

.emails-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 40px;
}

.emails-section {
    margin-bottom: 0.75em;
}

.section-title {
    margin: 0.5em 0 0.25em 0;
    font-size: 0.95em;
    color: #555;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.25em;
}

.section-add {
    display: flex;
    justify-content: center;
    margin-top: 0.25em;
}

.section-add .add-btn {
    padding: 4px 14px;
    font-size: 14px;
}

.column-buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 1em;
}

.hidden {
    display: none !important;
}

.text-block {
    display: flex;
    align-items: center;
    margin: 0.4em 0;
}

.text-block input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

.delete-btn {
    margin-right: 0.5em;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.delete-btn:hover {
    background: #cc0000;
}

button {
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
}

.add-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
}

.save-btn {
    background-color: #008CBA;
    color: white;
    border: none;
    border-radius: 4px;
}
