
/********************************animations**********************************************/
@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/* Fade-in animation for the entire page */
body {
    margin-top: 0;
}

#navbar {
    display: flex;
    width: 88.8vw;
    margin: 0;
    position: fixed;
    justify-content: space-between;
    align-items: center;
    background-color: #f4f4f4;
    z-index: 10;
    padding-top: 28px;
    padding-bottom: 20px;
    box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.1);
}

div#navbar img {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -38%);
}

#navbar input {
    background-color: #28a745;
    border: none;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}


    #navbar input[type="button"]:hover {
        background-color: transparent;
        color: #218838;
    }

/********************************main-container**********************************************/


#outer-div{
    display: flex;
    flex-direction: column;
    align-items: center;
}

#logo{
    width: 250px;
    margin-bottom: 20px;
}

#vacancyName {
    font-size: 32px;
    font-weight: bold;
    color: #333333;
    padding-bottom: 5px;
}

#exp-txt {
    font-size: 12px;
    color: #5d5c5c;
    font-weight: bold;
}

hr{
    color: #bebebe;
    stroke-width: 2px;
}

#apply-txt {
    font-size: 22px;
    color: #333333;
    font-weight:;
    margin-bottom: 5px;
}
#mandatory-txt {
    display:flex;
    color: #5d5c5c;
    font-size: 12px;
    justify-content:flex-end;
}
/********************************main-container**********************************************/
.main-field-container {
    margin-top: 110px;
    font-size: 14px;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: fit-content;
    animation: slideIn 0.3s;
    position: absolute;
}

/********************************fieldset**********************************************/
fieldset {
    border: 1px solid #bebebe;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    max-width: 1000px;
}

legend {
    font-weight: bold;
    color: #bbbbbb;
    padding: 0 10px;
}




/********************************Form container**********************************************/
/* Container to spread the fields across the page */

/* Field container */
.field-container {
    flex: 1; /* Adjust the width to your needs */
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    max-width: fit-content;
    min-width: 200px; /* Adjust this value as needed */
    margin-right: 15px;
}

/* Label styling similar to Material UI */
.field-label {
    color: #333;
    margin-bottom: 5px;
    font-weight: bold;
}

/* Input field styling similar to Material UI */
.field-input input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

    /* Input focus effect similar to Material UI */
    .field-input input:focus {
        border-color: #3f51b5; 
        outline: none;
    }

/* Error message styling */
.field-input .error-message {
    color: red;
    margin-top: 5px;
}
/********************************ROWS**********************************************/
.layout-row {
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
}

#offeredJob {
   display:none;
}
/********************************TextBox**********************************************/
.txtbox-field-container {
    flex: 1;
    margin-bottom: 20px;
    /*margin-left:10px;*/
    display: flex;
    flex-direction: column;
    max-width: fit-content;
    min-width: 200px;
    margin-right: 15px;
}

.txtbox-field-label {
    margin-bottom: 5px;
    font-weight: bold;
}

.txtbox-field-input {
    display: flex;
    flex-direction: column;
}

    .txtbox-field-input textarea {
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 4px;
      
    }

    .txtbox-field-input .error-message {
        color: red;
        margin-top: 5px;
        display: block;
    }

/********************************Dropdown**********************************************/

/* Style for the field container */
.dropdown-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    margin-right: 10px;
    width: 200px;
}

/* Style for the label */
.dropdown-label{
    color: #333;
    margin-bottom: 5px;
    max-width: 200px;
    font-weight: bold;
}

/* Style for the dropdown (select element) */
.dropdown-input select {
    width: 200px;
    padding: 10px;
    color: #333;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

    /* Change border color and box shadow on focus */
    .dropdown-input select:focus {
        border-color: #3f51b5;
        box-shadow: 0 0 5px rgba(63, 81, 181, 0.5);
        outline: none;
    }

/* Style for the error message */
.dropdown-input .error-message {
    color: red;
    margin-top: 5px;
}
/********************************Radio**********************************************/
/* Style for the container */
.radio-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    max-width: fit-content;
    min-width: 200px; /* Adjust this value as needed */
    margin-right: 15px;
}

/* Style for the label */
.radio-label {
    color: #333;
    margin-bottom: 5px;
    font-weight: bold;
}

/* Style for the radio buttons */
.radio-input .radio-option {
    margin-right: 10px;
    color: #333;
    cursor: pointer;
}

/* Adjust spacing between radio buttons */
.radio-input {
    display: flex;
    align-items: center;
}

    /* Style for the error message */
    .radio-input .error-message {
        color: red;
        margin-top: 5px;
    }

/********************************Fresher Details Table**********************************************/

/* General table styling */
.innerDiv {
    width: auto;
    border-collapse: collapse;
    margin: 20px 0;
    text-align: left;
}

    /* Table header styling */
    .innerDiv thead tr {
        background-color: #f5f5f5;
        border-bottom: 2px solid #e0e0e0;
    }

    .innerDiv th {
        padding: 12px 15px;
        font-weight: bold;
        color: #333;
    }

    /* Table body styling */
    .innerDiv tbody tr {
        border-bottom: 1px solid #e0e0e0;
    }

    .innerDiv td {
        padding: 10px 15px;
    }

        /* Input field styling within table cells */
        .innerDiv td input[type="text"]
        {
            width: 90%;
            padding: 8px 12px;
            margin-top: 4px;
            margin-bottom: 4px;
            border: 1px solid #ccc;
            border-radius: 4px;
            box-sizing: border-box;
        }

        .innerDiv td select {
            width: 90%;
            height: 40px;
            margin-top: 4px;
            margin-bottom: 4px;
            border: 1px solid #ccc;
            border-radius: 4px;
            box-sizing: border-box;
        }


            .innerDiv td input[type="text"]:focus,
            .innerDiv td select:focus {
                border-color: #1976d2;
                outline: none;
                box-shadow: 0 0 5px rgba(25, 118, 210, 0.5);
            }

        /* Label styling */
        .innerDiv td .requiredMsg {
            color: red;
            font-weight: bold;
            margin-left: 5px;
        }

        /* Validator error message styling */
        .innerDiv td .aspNet-Validator {
            color: red;
            margin-top: 4px;
            display: block;
        }

    /* Adding some hover effects for rows */
    .innerDiv tbody tr:hover {
        background-color: #f9f9f9;
    }

/********************************Upload**********************************************/
/* Style for the field container */
.upload-field-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    margin-right: 15px;
}

/* Style for the label */
.upload-field-label {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

/* Style for the file upload input */
.upload-field-input input[type="file"] {
    width: 200px;
    padding: 8px;
    color: #333;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    height: fit-content;
}

    /* Change border color and box shadow on focus */
    .upload-field-input input[type="file"]:focus {
        border-color: #3f51b5;
        box-shadow: 0 0 5px rgba(63, 81, 181, 0.5);
        outline: none;
    }

/* Style for the error message */
.upload-field-input .error-message {
    color: red;
    margin-top: 5px;
}

/* Style for the file upload button inside the input */
.upload-field-input input[type="file"]::file-selector-button {
    padding: 8px 12px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

    /* Change button background on hover */
    .upload-field-input input[type="file"]::file-selector-button:hover {
        background-color: #218838;
    }

/********************************Upload**********************************************/
.submit-button {
    text-align: left; 
}

    .submit-button button, 
    .submit-button input[type="submit"], 
    .submit-button input[type="button"] { 
        background-color: #2a4b96; 
        border: none; 
        color: white; 
        padding: 12px 24px; 
        text-align: center; 

        display: inline-block; 
        font-weight: bold; 
        border-radius: 5px; 
        cursor: pointer; 
        transition: background-color 0.3s ease; 
        width: 100%; 
        max-width: 200px; 
    }

        .submit-button button:hover,
        .submit-button input[type="submit"]:hover,
        .submit-button input[type="button"]:hover {
            color: #233e7d;
            background-color: transparent;
            border: solid 0.1px;
        }

        .submit-button button:active,
        .submit-button input[type="submit"]:active,
        .submit-button input[type="button"]:active {
            background-color: #233e7d; 
        }

        .submit-button button:disabled,
        .submit-button input[type="submit"]:disabled,
        .submit-button input[type="button"]:disabled {
            background-color: #ccc; 
            color: #666; 
            cursor: not-allowed; 
        }


@media (max-width: 768px) {

    #navbar {
        flex-direction: column;
        padding: 1rem;
        box-shadow: none;
        position: unset;
    }
        /* Hide the back button */
        #navbar input[type="button"] {
            display: none;
        }

        /* Change the image to the new URL */
        #navbar img {
            content: url('../img/favicon.png');
            position: absolute;
            left: 50%;
            transform: translate(-50%, -38%);
            width: 50px;
        }
    .main-field-container {
        margin-top: 60px;
    }
    }