body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 360px;
    max-width: 100%;
    padding: 30px;
    text-align: center;
}

h2 {
    color: #333;
    margin-bottom: 20px;
}

input[type="text"],
input[id="password"],
input[type="email"],
select {
    width: 95%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 14px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[id="password2"],
input[id="confirmPassword"] {
    padding: 10px;
    width: 90%;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 14px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.div1, .div2 {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px; 
}

.div1 > input,
.div2 > input {
    width: 100%;
    padding-right: 30px;  
    position: relative;
}

.show-password {
    position: absolute;
    right: 10px; 
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

    .styled-select {
        position: relative;
        width: 188px;
    }

    .styled-select select {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        padding: 10px 30px 10px 10px; /* Add extra space for the icon */
        font-size: 16px;
        width: 100%;
        border: 1px solid #ccc;
        border-radius: 4px;
        background-color: white;
        color: #333;
        outline: none;
    }

    .styled-select select:focus {
        border-color: #5b9bd5;
    }

    .styled-select::after {
        content: "▼";
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        color: #333;
        pointer-events: none; /* Makes the icon not interactable */
    }

    /* Optional: Style the focus and hover state for a better user experience */
    .styled-select select:hover {
        border-color: #5b9bd5;
    }

    .styled-select select:focus {
        border-color: #1a73e8;
    }


input:focus {
    outline: none;
    border-color: #36a2eb;
}

button {
    margin-top: 20px;
    width: 100%;
    background-color: #36a2eb;
    color: white;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #3392e0;
}

.icon {
    font-size: 40px;
    margin-bottom: 10px;
    color: #36a2eb;
}

#openSignup {
    cursor: pointer;
    color: #36a2eb;
    margin-top: 15px;
    display: inline-block;
    font-size: 14px;
}

#openSignup:hover {
    text-decoration: underline;
}

.popup {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    width: 390px;
}

.close {
    cursor: pointer;
    position: absolute; 
    top: 10px;
    right: 10px;
    font-size: 20px;
}


.home {
    font-size: 20px;
    width: 100%;
    display: flex;
    justify-content: left;
    margin: 0;
    padding: 0;
    text-decoration: none;
    color: black;
}

.home > a > i {
    font-size: 18px;
    margin-left: 3px;
}

.home > a > i:hover {
    font-size: 25px;
    transition: .5s;
    margin-left: 0;
}

.course-selection {
    margin: 15px 0;
    text-align: left;
    font-size: 14px;
}

.course-selection {
    text-align: left;
    font-size: 14px;
    display: flex; 
    align-items: center; 
}

.course-selection label {
    margin-right: 15px;
}

input[type="file"] {
    display: block;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 95%;
    color: gray;
    cursor: pointer;
}

.upload-field label {
    float: left; 
    margin: 10px 5px;
}

 .year-course {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
 }
 .year-course>select{
     width: 48.5%;
 }
 
     