﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/*Added CSS*/

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
}

    .header h1 {
        font-family: 'Inter Tight';
        font-weight: 500;
        font-size: 40px;
        line-height: 48.4px;
    }

.second-header {
    margin-bottom: 20px;
}

.second-header-label {
    font-family: 'Inter Tight';
    font-weight: 500 !important;
    font-size: 16px;
    line-height: 19.36px;
}

.step {
    font-size: 16px;
    color: #16181D;
    font-weight: 500 !important;
    line-height: 19.36px;
    font-family: 'INTER TIGHT';
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input[type="email"], input[type="url"], select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 11px;
    font-size: 14px;
}

.otp-container {
    display: flex;
    gap: 10px;
}

    .otp-container input {
        width: 48px;
        height: 48px;
        text-align: center;
        padding: 16px;
        border: 1px solid #ccc;
        border-radius: 12px;
        font-size: 14px;
    }

.radio-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 5px;
}

button {
    padding: 10px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

    button:hover {
        background-color: #444;
    }

.whatsapp-button-size {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    border-radius: 12px;
}

button.whatsapp-button-size:focus {border: solid #000 2px !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: #fff;
    color: #000;
}

.back-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.back-button {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
}

    .back-button .arrow {
        font-size: 18px;
        margin-right: 5px;
    }

    .back-button:focus {
        outline: none;
    }

.progress-bar1 {
    display: flex;
    width: 70px;
    height: 8px;
    background-color: #282828;
    border-radius: 100px;
    overflow: hidden;
}

.progress-bar2 {
    display: flex;
    width: 70px;
    height: 8px;
    background-color: #DEDEDE;
    border-radius: 100px;
    overflow: hidden;
}

.progress-bar3 {
    display: flex;
    width: 70px;
    height: 8px;
    background-color: #282828;
    border-radius: 100px;
    overflow: hidden;
}

.progress-bar4 {
    display: flex;
    width: 70px;
    height: 8px;
    background-color: #282828;
    border-radius: 100px;
    overflow: hidden;
}

/*DetailsPage css*/

h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

p {
    font-size: 14px;
    margin-bottom: 20px;
    color: #666;
}

.upload-section {
    margin-bottom: -30px;
    padding-top: 20px;
}

.upload-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 114px;
    border: 1px dashed #C7C7C7;
    border-radius: 12px;
    cursor: pointer;
    background-color: white;
    text-align: center;
    gap: 10px;
    height: 134px;
}

    .upload-box input[type="file"] {
        display: none;
    }

.upload-icon {
    font-size: 30px; /* Adjust the icon size */
    margin-bottom: 10px; /* Add space between icon and text */
}

.upload-text {
    color: #ACB0B9;
    font-size: 14px;
    font-family: 'Inter Tight';
    font-weight: 500;
    line-height: 22px;
}

.expertise-section h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.expertise-container {
    display: flex;
    /*gap: 20px;*/
}

.expertise-sidebar {
    flex: 1;
    background-color: white;
    border-radius: 12px;
    margin-top: 10px;
    /* padding: 10px;*/
}

    .expertise-sidebar ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .expertise-sidebar li {
        padding: 10px;
        cursor: pointer;
        font-family: 'Inter Tight';
        font-weight: 500;
        font-size: 18px;
        line-height: 21.78px;
        color: #525252;
    }

        .expertise-sidebar li:hover,
        .expertise-sidebar li.active {
            background-color: #f7f7f7;
        }

/* Add this custom class to your CSS */
.expertise-label {
    padding: 16px;
    align-items: center;
    border: 1px solid #C7C7C7;
    border-radius: 12px;
    background-color: #FFFFFF;
    gap: 10px;
    display: flex;
}

Form Section
.form-section {
    margin: 20px 0;
    padding: 20px;
    background: #fafafa;
    border: 1px solid #ddd;
    border-radius: 8px;
}

Labels
label {
    display: block;
    margin: 15px 0 5px;
    font-weight: bold;
    color: #555;
}

Input Fields and Selects
select, input[type="url"] {
    width: 100%;
    padding: 10px;
    /*   margin-top: 8px;*/
    border: 1px solid #ccc;
    border-radius: 11px;
    font-size: 14px;
    box-sizing: border-box;
}

    select:focus, input[type="url"]:focus {
        outline: none;
        border-color: #007BFF;
        box-shadow: 0 0 4px rgba(0, 123, 255, 0.5);
    }

Experience Level
.experience-level {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
}

.experience-level button {
    flex: 1;
    margin: 0 5px;
    padding: 10px;
    border: 1px solid #C7C7C7;
    background: white;
    color: #16181D;
    cursor: pointer;
    font-size: 20px;
    text-align: center;
}

    .experience-level button.active {
        background: #1C1C1C;
        color: #fff;
    }

    .experience-level button:hover {
        background: #1C1C1C;
        color: #fff;
    }

/*form Selected Area*/
.selected-area {
    font-weight: bold;
}

a {
    color: #0000FF;
    text-decoration: none;
    font-family: Inter Tight;
    font-weight: 500;
    font-size: 16px;
    line-height: 19.36px;
}

    a:hover {
        text-decoration: underline;
    }


/* Style for the custom checkbox */
.custom-checkbox {
    appearance: none;
    cursor: pointer;
    background-image: url('/appicons/Passive.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block; /* Makes it respect content size */
    padding: 10px !important; /* Adds some space around the image */
}

    .custom-checkbox:checked {
        background-image: url('/appicons/CheckIcon.svg');
    }

/*FinalPage*/

.checkmark {
    background-color: #4caf50;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 10px; /* Equal width and height for a perfect circle */
    height: 60px;
    border-radius: 50%;
    color: white; /* Ensures the text color is white */
    font-size: 24px; /* Adjust icon size */
}

.rounded-circle {
    border-radius: 100px !important;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    border-radius: 50%;
    width: 40px;
    background-color: #F0F0F0;
}

.rounded-circles {
    border-radius: 100px !important;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    border-radius: 50%;
    font-family: 'Inter Tight';
    font-size: 20px;
    width: 100px;
    background-color: #DDFFDD !important;
    font-weight: 500;
    line-height: 24.2px;
}

.form-label {
    font-family: 'Inter Tight';
    font-weight: 600 !important;
    font-size: 16px;
    line-height: 22px;
}

/* Hide the native checkbox */
.custom-check {
    display: none;
}

    /* Style the label to look like a checkbox */
    .custom-check + .form-label {
        position: relative;
        padding-left: 30px; /* Space for the custom checkbox */
        cursor: pointer;
        line-height: 19.36px; /* Optional: adjust for alignment */
    }

        /* Create the custom checkbox appearance */
        .custom-check + .form-label::before {
            content: '';
            position: absolute;
            left: 3px;
            top:0;
            width: 21px;
            height: 20px;
            border: 2px solid #ccc; /* Light gray border for the unchecked state */
            background-color: white; /* White background when unchecked */
            border-radius: 4px; /* Rounded corners */
        }

        .custom-check + .form-label.is-invalid {
            color: #dc3545;
        }

        .custom-check + .form-label.is-invalid::before {
            border-color: #dc3545;
        }

    /* Change appearance when the checkbox is checked */
    .custom-check:checked + .form-label::before {
        background-color: black; /* Set to black when checked */
        border-color: black; /* Set border to black */
    }

    /* Add a checkmark after the checkbox is checked */
    .custom-check:checked + .form-label::after {
        content: url('/appicons/CheckBox.svg'); /* Unicode character for checkmark */
        position: absolute;
        left: 4px; /* Adjust position of the checkmark inside the box */
        top: 0;
        color: white; /* Change to white to contrast with the black background */
        font-size: 16px; /* Adjust size of the checkmark */
    }

/* Hide the default radio buttons */
input[type="radio"].custom-radio {
    display: none;
}

/* Create the custom radio button circle */
.radio-button-border {
    width: 113px;
    height: 52px;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    position: relative;
}

    /* Custom radio button style */
    .radio-button-border input[type="radio"].custom-radio + label {
        position: relative;
        padding-left: 30px; /* Space for custom radio button */
        cursor: pointer;
        display: flex;
        align-items: center;
    }

        /* Custom radio circle */
        .radio-button-border input[type="radio"].custom-radio + label::before {
            content: '';
            position: absolute;
            left: 5px; /* Adjusted for better alignment */
            top: 50%;
            transform: translateY(-50%);
            width: 18px;
            height: 18px;
            border: 2px solid #888;
            border-radius: 50%;
            background-color: #fff;
            transition: all 0.3s ease;
        }

/* When radio button is checked */
input[type="radio"].custom-radio:checked + label::before {
    background-color: black; /* Change to black when checked */
    border-color: black;
}

/* Custom inner circle (◦) when radio button is checked */
input[type="radio"].custom-radio:checked + label::after {
    content: '⚪';
    position: absolute;
    top: 45%;
    left: 16%;
    transform: translate(-50%, -50%);
    font-size: 9px;
}

.area {
    font-family: 'Inter Tight';
    font-weight: 500;
    font-size: 16px;
    line-height: 19.36px;
    letter-spacing: 0.08rem;
    color: #525252;
}

.areaNameActive {
    color: #1C1C1C;
    font-family: 'Inter Tight';
    font-weight: 600;
    font-size: 18px;
    line-height: 21.78px;
}

.expertise-name {
    font-family: 'Inter Tight';
    font-weight: 500 !important;
    font-size: 18px;
    line-height: 21.78px;
    color: #1C1C1C;
}

/* Apply the red border when input is invalid */
.otp-input.is-invalid {
    border: 1px solid red !important;
}

    /* Optional: Add a red outline when an input is focused and invalid */
    .otp-input.is-invalid:focus {
        outline: none; /* Remove default focus outline */
        border: 2px solid red !important; /* Ensure focus border is also red */
    }

/* Red border for invalid fields */
.upload-invalid {
    border: 1px dashed red !important;
}

.expertise-invalid {
    border: 1px Solid red;
}

.text-danger {
    font-family: 'Inter Tight' !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 22px !important;
}

/* Target the placeholder text specifically */
.custom-placeholder  {
    color: #444444;
    font-family: 'Inter Tight';
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
}

/* File Upload */
.upload-box {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center;
    justify-content: center;
    height: 150px;
    border: 2px dashed #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
    cursor: pointer;
    margin-bottom: 20px;
    text-align: center;
    padding: 10px;
}

    .upload-box.hidden {
        display: none;
    }

    .upload-box img {
        margin-bottom: 10px; /* Add spacing between the image and text */
        height: 56px;
        width: 56px;
    }

.upload-text {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.upload-link-text {
    text-decoration: underline;
    cursor: pointer;
    color: #0000FF !important;
    font-family: 'Inter Tight';
    font-weight: 500;
    line-height: 22px;
}

.upload-text br {
    display: block; /* Ensure line break for mobile and desktop views */
}

/* Mobile View */
@media (max-width: 768px) {
    .upload-box {
        height: auto;
        padding: 15px;
    }

        .upload-box img {
            height: 40px;
            width: 40px;
        }

    .upload-text {
        font-size: 12px;
    }
}


.file-list {
    margin-top: 10px;
    max-width: 500px;
    color: #F6F6F6;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F6F6F6;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.file-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.file-icon {
    width: 32px;
    height: 32px;
}

.file-name {
    font-family: 'Inter Tight';
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    color: #1C1C1C;
}

.file-size {
    font-family: 'Inter Tight';
    font-weight: 400;
    font-size: 12px;
    line-height: 14.52px;
    text-align: center;
    color: #3F3F3F;
}

.progress-bar-container {
    flex: 1;
    margin-left: 10px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress {
    height: 100%;
    background: black;
    width: 0;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 12px;
    margin-top: 4px;
    text-align: right;
    color: #555;
}

.delete-button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #e74c3c;
}

    .delete-button:hover {
        color: #e74c3c; 
        background-color: transparent; 
        box-shadow: none; 
        outline: none;
    }

/*Download button*/
.download-section {
    margin-top: 20px;
}

.download-button {
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 14px;
    margin: 5px 0;
}

    .download-button:hover {
        background-color: #2980b9;
    }

.iconActive {
    filter: brightness(0) saturate(0%) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) contrast(100%);
}
.custom-toast {
    border-radius: 8px !important;
    border-left: 3px solid transparent;
}

.swal2-icon-success.custom-toast {
    border-left: 3px solid #13CE66 !important;
}

.swal2-icon-error.custom-toast {
    border-left: 3px solid #dc3545 !important;
}

.swal2-icon {
    border: none;  
}

.swal2-title {
    padding: 7px !important;
    font-family: 'Inter Tight' !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    line-height: 26px !important;
    color: #1C1C1C !important;
}


.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
  }

input:focus, textarea, button:focus {
    border: solid black 2px !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.expertise-invalid:focus {
    border: solid #dc3545 2px !important;
    outline: 0 !important;
    box-shadow: 0 0 5px rgba(220, 53, 69, 0.5) !important;
}

    input:focus.is-invalid,
    textarea:focus.is-invalid {
        border: solid #dc3545 2px !important; 
        outline: 0 !important; 
        box-shadow: 0 0 5px rgba(220, 53, 69, 0.5) !important; 
    }

.error-focus {
    border: solid #dc3545 2px !important;
    outline: 0 !important;
    box-shadow: 0 0 5px rgba(220, 53, 69, 0.5) !important;
}

.upload-error-focus {
    border: dashed #dc3545 2px !important;
    outline: 0 !important;
    box-shadow: 0 0 5px rgba(220, 53, 69, 0.5) !important;
}

input.custom-checkbox:focus {
    border: none !important;
}

label.d-flex:focus-within {
    border: solid black 1px !important; 
}

.expanded-dropdown {
    width: 100% !important; /* Expand the dropdown to fill the entire div */
}

@media (max-width: 1200px) and (min-width: 600px) {
    #country-container {
        width: 50%;
    }

    #areaCode-container {
        width: 20%;
    }

    #whatsapp-container {
        width: 30%;
    }
}
/* ADA-feedback-latest */
@media screen and (max-width: 320px) {
    /* 400% Adjust label */
    .select2-container--default .select2-dropdown {
        border: 1px solid #ced4da;
        max-height: 139px;
        overflow: hidden;
    }

}
.education-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.education-note {
    color: #1C1C1C;
    font-family: "Inter Tight";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    opacity: 0.5;
    margin-left: 130px; 
}

/* For screen widths greater than or equal to 1400px */
@media (min-width: 1400px) {
    .education-note {
        display: inline-block; /* Keeps it on the same line */
        margin-left: 130px;
        margin-top: 0;
    }
}

/* For screen widths less than 1400px */
@media (max-width: 1399px) {
    .education-note {
        display: block; /* Moves to a new line */
        margin-left: 0;
        margin-top: 5px;
    }
}

.level-radio {
    display: none;
}