/* Job Applications Manager - Public Styles */

.jam-application-form-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.jam-form-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.jam-form-header h2 {
    color: #333;
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: 600;
}

.jam-form-header p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

.jam-form-section {
    margin-bottom: 40px;
    padding: 25px;
    background: #fafafa;
    border-radius: 6px;
    border-left: 4px solid #0073aa;
}

.jam-form-section h3 {
    color: #0073aa;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.jam-form-section h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.jam-form-row {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
}

.jam-form-group {
    padding: 10px;
    margin-bottom: 15px;
}

.jam-col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.jam-col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.jam-col-6 { flex: 0 0 50%; max-width: 50%; }
.jam-col-12 { flex: 0 0 100%; max-width: 100%; }

.jam-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.jam-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    background: #fff;
}

.jam-form-control:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.jam-form-control.error {
    border-color: #dc3232;
}

.required {
    color: #dc3232;
    font-weight: bold;
}

/* Skills and Project Types */
.jam-skills-category {
    margin-bottom: 25px;
    padding: 20px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.jam-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
}

.jam-checkbox-label {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #f9f9f9;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border: 1px solid #e0e0e0;
}

.jam-checkbox-label:hover {
    background: #f0f0f0;
}

.jam-checkbox-label input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.1);
}

.jam-checkbox-text {
    font-size: 14px;
    color: #333;
}

/* Dynamic Entries */
.education-entry,
.experience-entry,
.certification-entry {
    margin-bottom: 20px;
    padding: 15px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    position: relative;
}

.remove-entry {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc3232;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
}

.remove-entry:hover {
    background: #a00;
}

/* Buttons */
.jam-btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.jam-btn-primary {
    background: #0073aa;
    color: white;
}

.jam-btn-primary:hover {
    background: #005a87;
}

.jam-btn-secondary {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.jam-btn-secondary:hover {
    background: #e0e0e0;
}

.jam-btn-large {
    padding: 15px 40px;
    font-size: 16px;
    min-width: 200px;
}

.jam-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.jam-btn-loading {
    display: none;
}

.jam-btn.loading .jam-btn-text {
    display: none;
}

.jam-btn.loading .jam-btn-loading {
    display: inline;
}

/* File Upload */
input[type="file"].jam-form-control {
    padding: 8px;
    background: #fff;
}

.jam-help-text {
    color: #666;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* Form Messages */
#jam-form-messages {
    margin: 20px 0;
}

.jam-message {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

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

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

.jam-error-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jam-error-list li {
    margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .jam-form-row {
        flex-direction: column;
    }
    
    .jam-col-2,
    .jam-col-4,
    .jam-col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .jam-checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .jam-application-form-container {
        padding: 15px;
        margin: 10px;
    }
    
    .jam-form-section {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .jam-form-header h2 {
        font-size: 24px;
    }
    
    .jam-btn-large {
        width: 100%;
        padding: 15px;
    }
}

