﻿body {
    background: linear-gradient(to bottom, #e6e9f5, #d5d9ed);
    color: #2d2e35;
    font-family: 'Segoe UI', sans-serif;
}

h1 {
    color: #4a4e74;
    font-weight: 600;
}

.nav-tabs .nav-link {
    color: #4a4e74;
    font-weight: 500;
}

    .nav-tabs .nav-link.active {
        background-color: #cdd3f5;
        border-color: #b4bbe8 #b4bbe8 #fff;
        color: #2d2e35;
    }

.btn-primary {
    background-color: #7684d6;
    border-color: #7684d6;
    color: white;
}

    .btn-primary:hover {
        background-color: #6675c5;
        border-color: #6675c5;
    }

.btn-success {
    background-color: #70b7a5;
    border-color: #70b7a5;
    color: white;
}

    .btn-success:hover {
        background-color: #60a697;
        border-color: #60a697;
    }

.btn-outline-primary {
    color: #5c69ad;
    border-color: #5c69ad;
}

    .btn-outline-primary:hover {
        background-color: #5c69ad;
        color: white;
    }

.form-control {
    background-color: #f0f2fb;
    color: #2d2e35;
    border-radius: 0.5rem;
    border: 1px solid #bfc5e0;
}

    .form-control:focus {
        background-color: #ffffff;
        color: #2d2e35;
        border-color: #8d94cc;
        box-shadow: 0 0 0 0.2rem rgba(141, 148, 204, 0.25);
    }

.form-label {
    font-weight: 500;
    color: #4a4e74;
}

.list-group-item {
    background-color: #f8f9fc;
    border: 1px solid #d1d5e9;
    color: #2d2e35;
    border-radius: 0.5rem;
    margin-bottom: 5px;
}

.text-muted {
    font-size: 0.9rem;
    color: #6c757d !important;
}

.tab-pane h5 {
    color: #4a4e74;
    font-weight: 500;
}

.container {
    max-width: 650px;
}

.copy-email-link {
    cursor: pointer;
    text-decoration: underline dotted;
    user-select: all;
}

.copy-success {
    display: none;
    color: green;
    margin-left: 0.5rem;
    font-weight: bold;
    font-size: 0.9em;
}

.bottom-spacer {
    height: 3rem;
}

footer .container {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 0.85rem;
    line-height: 1.2;
}

    footer .container p {
        margin: 0.25rem 0;
    }

    footer .container .copy-email-link {
        cursor: pointer;
        text-decoration: underline;
        white-space: nowrap;
    }

    footer .container .copy-success {
        margin-left: 0.25rem;
        font-weight: bold;
        color: green;
        display: none; /* shown on copy via JS */
    }

    footer .container a {
        text-decoration: none;
    }

    footer .container .d-flex {
        gap: 0.3rem;
        flex-wrap: wrap;
        line-height: 1.4;
    }

    footer .container span {
        white-space: nowrap;
    }


#bedButtons {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    #bedButtons > button {
        margin-bottom: 0.5rem;
    }

@media (min-width: 576px) {
    #bedButtons {
        flex-direction: row;
        justify-content: center;
    }

        #bedButtons > button {
            margin-bottom: 0;
            margin-left: 0.5rem;
            margin-right: 0.5rem;
        }
}
