.bergos-abacus-container {
    margin: 64px auto 32px;
    font-family: inherit;
    padding-top: 70px;
}

.bergos-abacus-job-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

.bergos-abacus-job-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: space-between;
    border: 1px solid #eaeaea;
    padding: 2vw;
    background: #fff;
}

.bergos-abacus-job-item p {
    flex: 1;
    margin: 0 0 3vw !important;
}

.bergos-abacus-job-item h3 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 2vw;
}
.bergos-abacus-job-item .btn {
    max-width: 11vw;
}

.bergos-abacus-job-item h3 a {
    text-decoration: none;
    color: inherit;
}

/* Form Styles */
#bergos-abacus-apply-form {
    max-width: 600px;
}

.bergos-abacus-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.bergos-abacus-form-group label .bergos-abacus-required {
    color: #d32f2f;
    margin-left: 2px;
}

.bergos-abacus-input,
.bergos-abacus-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    max-width: 100%;
    box-sizing: border-box;
}

.bergos-abacus-form-submit {
    padding-top: 32px;
}
.bergos-abacus-form-submit .bergos-abacus-form-submit-btn {
    border: 0;
    background: #000000;
    font-family: "Josefin Sans", Arial, sans-serif;
    color: #ffffff;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 16px;
}
.bergos-abacus-form-submit .bergos-abacus-form-submit-btn:hover {
    background: #333333;
}

.bergos-abacus-error {
    color: #d32f2f;
    padding: 15px;
    background: #fde8e8;
    border-left: 4px solid #d32f2f;
    margin-bottom: 20px;
    margin-top: 20px;
}

.bergos-abacus-success {
    color: #2e7d32;
    padding: 15px;
    background: #edf7ed;
    border-left: 4px solid #4caf50;
    margin-bottom: 20px;
    margin-top: 20px;
}

.bergos-abacus-loader {
    margin-left: 10px;
    font-style: italic;
    color: #666;
    display: inline-block;
}

/* Modal */
.bergos-abacus-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 16px;
    overflow-y: auto;
}

.bergos-abacus-modal.is-open {
    display: flex;
}

.bergos-abacus-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

.bergos-abacus-modal-dialog {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 680px;
    padding: 40px 32px 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.bergos-abacus-modal-dialog h4 {
    font-size: 32px;
}

.bergos-abacus-modal-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: 0;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: #333;
    padding: 4px 10px;
}

.bergos-abacus-modal-close:hover {
    color: #000;
}

body.bergos-abacus-modal-open {
    overflow: hidden;
}