.awja-job-alert-form-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 0 20px;
}

.awja-form-wrapper {
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.awja-form-header h3 {
    color: #203261;
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 600;
}

.awja-form-header p {
    color: #666;
    margin: 0 0 25px 0;
    line-height: 1.5;
}

.awja-form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 0;
}

.awja-form-group {
    margin-bottom: 20px;
}

.awja-form-group.awja-half {
    flex: 1;
    margin-bottom: 20px;
}

.awja-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.awja-label.required .required-asterisk {
    color: #dc3545;
}

.awja-input,
.awja-select {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid #666;
    border-radius: 3px;
    font-size: 16px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.awja-input:focus,
.awja-select:focus {
    outline: none;
    border-color: #203261;
    box-shadow: 0 0 0 3px rgba(32, 50, 97, 0.1);
}

.awja-input.error,
.awja-select.error {
    border-color: #dc3545;
}

.awja-help-text {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
    font-style: italic;
}

.awja-checkbox-container {
    border: 1px solid #666;
    border-radius: 3px;
    background: #ffffff;
    transition: all 0.3s;
    width: 100%;
    box-sizing: border-box;
}

.awja-checkbox-container:focus-within {
    border-color: #203261;
    box-shadow: 0 0 0 3px rgba(32, 50, 97, 0.1);
}

.awja-checkbox-container.error {
    border-color: #dc3545;
}

.awja-checkbox-list {
    max-height: 132px;
    overflow-y: auto;
    padding: 5px 10px;
}

.awja-checkbox-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 4px;
    margin: 0 -5px;
    padding-left: 5px;
    padding-right: 5px;
}

.awja-checkbox-item:hover {
    background-color: #f8f9fa;
}

.awja-checkbox-item.hidden {
    display: none;
}

.awja-function-checkbox,
.awja-province-checkbox {
    display: none;
}

.awja-custom-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 3px;
    margin-right: 12px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.awja-function-checkbox:checked+.awja-custom-checkbox,
.awja-province-checkbox:checked+.awja-custom-checkbox {
    background-color: #203261;
    border-color: #203261;
}

.awja-function-checkbox:checked+.awja-custom-checkbox::after,
.awja-province-checkbox:checked+.awja-custom-checkbox::after {
    content: '✓';
    position: absolute;
    top: 0px;
    left: 1px;
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.awja-checkbox-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}

/* Custom scrollbar for webkit browsers */
.awja-checkbox-list::-webkit-scrollbar {
    width: 18px;
}

.awja-checkbox-list::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 9px;
    margin: 5px 0;
}

.awja-checkbox-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #203261 0%, #1a2751 100%);
    border-radius: 9px;
    border: 3px solid #f8f9fa;
    transition: background 0.3s ease;
}

.awja-checkbox-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #1a2751 0%, #15213f 100%);
    border: 3px solid #e9ecef;
}

.awja-checkbox-list::-webkit-scrollbar-thumb:active {
    background: #15213f;
}

/* Firefox scrollbar styling */
.awja-checkbox-list {
    scrollbar-width: auto;
    scrollbar-color: #203261 #f8f9fa;
}

.awja-checkbox-group {
    margin-top: 25px;
}

.awja-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal;
    line-height: 1.5;
}

.awja-checkbox {
    margin-right: 10px;
    margin-top: 2px;
    flex-shrink: 0;
}

.awja-checkbox-text-privacy {
    flex: 1;
    line-height: 1.5;
}

.awja-submit-btn {
    background: #203261;
    border: 2px solid #203261 !important;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 35px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

.awja-submit-btn:hover {
    background: #ffffff;
    color: #203261;
}

.awja-submit-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.awja-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.awja-error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.awja-error-message.show {
    display: block;
}

.awja-success-message,
.awja-error-message-general {
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
}

.awja-success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.awja-error-message-general {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.awja-form-actions {
    text-align: center;
    margin-top: 30px;
}

.required-asterisk {
    color: #dc3545;
}

/* Responsive design */
@media (max-width: 768px) {
    .awja-form-row {
        flex-direction: column;
        gap: 0;
    }

    .awja-form-wrapper {
        padding: 20px;
    }

    .awja-job-alert-form-container {
        padding: 0 10px;
    }
}