
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.application-container {
    max-width: 950px;
    margin: 0 auto 70px auto;
    background-color: white;
    padding: 50px 40px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

header {
    text-align: center;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 30px;
    margin-bottom: 40px;
}

header h1 {
    font-size: 32px;
    font-weight: 600;
    color: #1a3a52;
    margin-bottom: 10px;
}

header p {
    font-size: 15px;
    color: #666;
}

.form-section {
    margin-bottom: 40px;
}

.form-section h2 {
    font-size: 16px;
    font-weight: 600;
    color: #1a3a52;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 20px;
}

.form-row.full {
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

label .required {
    color: #d32f2f;
}

input, select, textarea {
    padding: 11px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    font-family: inherit;
    background-color: #fafafa;
    color: #333;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #1976d2;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* NOTICE BOXES */
.notice {
    padding: 18px;
    margin-bottom: 25px;
    border-radius: 4px;
    border-left: 4px solid #d32f2f;
    background-color: #ffebee;
}

.notice h3 {
    font-size: 14px;
    font-weight: 600;
    color: #d32f2f;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notice p {
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
    line-height: 1.6;
}

.notice ul {
    font-size: 13px;
    color: #555;
    margin: 8px 0 0 20px;
    line-height: 1.6;
}

.notice li {
    margin-bottom: 5px;
}

.notice a {
    color: #1976d2;
    text-decoration: none;
    font-weight: 500;
}

.notice a:hover {
    text-decoration: underline;
}

/* PRIVACY POLICY SECTION */
.policy-section {
    background-color: #f9f9f9;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.policy-section h3 {
    font-size: 14px;
    font-weight: 600;
    color: #1a3a52;
    margin-bottom: 12px;
}

.policy-section p {
    font-size: 13px;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.7;
}

.policy-section ul {
    font-size: 13px;
    color: #555;
    margin: 10px 0 10px 20px;
    line-height: 1.7;
}

.policy-section li {
    margin-bottom: 6px;
}

/* SKILLS CONTAINER */
.skills-container {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.skill-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 50px;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.hub-row {
    display: grid;
    grid-template-columns: 1fr 1fr 50px;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.skill-row:last-child, .hub-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.skill-row.first, .hub-row.first {
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.delete-skill-btn, .delete-hub-btn {
    align-self: flex-end;
    padding: 8px 12px;
    background-color: #ffcdd2;
    color: #c62828;
    border: 1px solid #ef5350;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.2s;
    height: fit-content;
}

.delete-skill-btn:hover, .delete-hub-btn:hover {
    background-color: #ef5350;
    color: white;
}

.add-skill-btn, .add-hub-btn {
    padding: 11px 16px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    margin-top: 10px;
}

.add-skill-btn:hover, .add-hub-btn:hover {
    background-color: #45a049;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

/* CHECKBOXES */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.checkbox-item {
    display: flex;
    gap: 8px;
    align-items: center;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-item label {
    margin: 0;
    font-weight: normal;
    font-size: 13px;
}

/* REQUIRED AGREEMENTS SECTION */
.required-agreements {
    background-color: #fafafa;
    padding: 25px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

.required-agreements h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a3a52;
    margin-bottom: 15px;
}

.required-agreements > p {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

.required-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.required-checkbox-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.required-checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.required-checkbox-label {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

.required-checkbox-label a {
    color: #1976d2;
    text-decoration: none;
    font-weight: 500;
}

.required-checkbox-label a:hover {
    text-decoration: underline;
}

/* RADIO GROUPS */
.radio-group {
    display: flex;
    gap: 25px;
    align-items: center;
}

.radio-item {
    display: flex;
    gap: 8px;
    align-items: center;
}

.radio-item input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.radio-item label {
    margin: 0;
    font-weight: normal;
    font-size: 13px;
}

/* BUTTONS */
.button-group {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

button[type="submit"], button[type="reset"] {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

button[type="submit"] {
    background-color: #4caf50;
    color: white;
}

button[type="submit"]:hover {
    background-color: #45a049;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

button[type="reset"] {
    background-color: #e0e0e0;
    color: #333;
}

button[type="reset"]:hover {
    background-color: #d0d0d0;
}

/* SUCCESS MESSAGE */
.success-message {
    display: none;
    padding: 15px;
    background-color: #e8f5e9;
    border: 1px solid #4caf50;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
    color: #2e7d32;
    font-weight: 600;
    font-size: 14px;
}

.success-message.show {
    display: block;
}

/* FOOTER */
/* footer {
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #999;
} */

.error-message {
    color: #d32f2f;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

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

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .skill-row {
        grid-template-columns: 1fr;
    }
    .hub-row {
        grid-template-columns: 1fr;
    }
    
    .delete-skill-btn {
        width: 100%;
    }
    
    .application-container {
        padding: 25px 15px;
        margin: 0 auto 40px auto;
    }
    
    header h1 {
        font-size: 24px;
    }
    
    .checkbox-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .radio-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
.note-text {
  font-size: 12px; 
  color: #666;
   margin: 4px 0 0 0;
}
@media (min-width: 1440px) {
    .application-container {
        padding: 20px 10px;
        max-width: 60%;
    }
}
.privacy-component{
    margin-bottom: 20px;
}
.tooltip {
    position: absolute;
    background: #222;
    color: #fff;
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 4px;
    z-index: 9999;
    max-width: 220px;
    display: none;
    pointer-events: none;
}