.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.alert-success {
    background-color: rgba(220, 252, 231, 0.95);
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.alert-danger {
    background-color: rgba(254, 226, 226, 0.95);
    color: #b91c1c;
    border: 1px solid #fecaca;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.alert-danger ul {
    margin: 0;
    padding-left: 20px;
}

.alert-danger li {
    margin-bottom: 4px;
}

.alert-danger li:last-child {
    margin-bottom: 0;
}

.g-recaptcha {
    margin-bottom: 25px;
    display: flex;
    justify-content: flex-start;
}

/* Toast Notification styles */
#toast-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    width: calc(100% - 60px);
    pointer-events: none;
}

.toast-item {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 10px 25px -5px rgba(0, 0, 0, 0.1),
        0 8px 16px -6px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    position: relative;
    animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: all 0.3s ease;
    overflow: hidden;
}

.toast-item.hide {
    animation: toastFadeOut 0.3s ease forwards;
}

.toast-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}

.toast-item.toast-success::before {
    background: #10b981;
}

.toast-item.toast-error::before {
    background: #ef4444;
}

.toast-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.toast-success .toast-icon {
    color: #10b981;
}

.toast-error .toast-icon {
    color: #ef4444;
}

.toast-content {
    flex-grow: 1;
    font-size: 14px;
    line-height: 1.5;
    color: #1f2937;
}

.toast-title {
    font-weight: 700;
    margin-bottom: 2px;
    font-size: 15px;
}

.toast-success .toast-title {
    color: #065f46;
}

.toast-error .toast-title {
    color: #991b1b;
}

.toast-message {
    font-size: 13.5px;
    color: #4b5563;
}

.toast-message ul {
    margin: 4px 0 0 0;
    padding-left: 18px;
}

.toast-message li {
    margin-bottom: 2px;
}

.toast-message li:last-child {
    margin-bottom: 0;
}

.toast-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 0;
    flex-shrink: 0;
    margin-left: 4px;
    transition: color 0.2s ease;
}

.toast-close:hover {
    color: #4b5563;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes toastFadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

.careers-empty {
    text-align: center;
}
