.StudentStoriesNavBarLogo {
    height: 30px;
    transform: scaleX(-1);
}

.StudentStoriesTitle {
    font-size: 28px;
    font-weight: bold;
}

.StudentStoriesNavBar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    height: 60px;
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

.StudentStoriesLeft {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    color: black;
    font-weight: bold;
}

.StudentStoriesRight {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    color: black;
}

.StudentStoriesSearchContainer {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;
    z-index: 998;
}

.StudentStoriesSearchBox {
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding-left: 50px;
    padding-right: 40px;
    width: 100%;
    box-sizing: border-box;
    background-color: white;
    outline: none;
    font-family: StudentStoriesFont;
    font-size: 18px;
    position: relative;
    z-index: 1000;
}

.StudentStoriesSearchBox:hover {
    background-color: #f0f0f0;
}

.StudentStoriesSearchBox:focus {
    background-color: white;
    border-color: #ccc;
}

.SearchBoxHiddenBorder {
    border-color: transparent;
}

.SearchBoxOpenDropdown {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: none;
}

.StudentStoriesSearchIcon {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    height: 35px;
    width: 35px;
    background: url('/assets/images/icon/StudentStoriesSearchIcon.png') no-repeat center center;
    background-size: contain;
    pointer-events: none;
    z-index: 1001;
}

.StudentStoriesClearIcon {
    position: absolute;
    font-family: arial;
    right: 2.5px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: black;
    font-size: 20px;
    background-color: transparent;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 38px;
    box-sizing: border-box;
    display: none;
    z-index: 1001;
}

.StudentStoriesClearIcon::after {
    content: '×';
}

.StudentStoriesClearIcon.visible {
    display: block;
    background-color: transparent;
}

.StudentStoriesClearIcon.visible:hover {
    background-color: #ccc;
}

.StudentStoriesSearchDropdown {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    border-radius: 20px;
    border: 1px solid #ccc;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 997;
    display: none;
    font-family: StudentStoriesFont;
}

.StudentStoriesSearchItem:first-child {
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.StudentStoriesSearchItem {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    border-bottom: 1px solid #ccc;
    height: 40px;
    padding-left: 15px;
    padding-right: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}

.StudentStoriesSearchItem span {
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.StudentStoriesSearchItem img {
    height: 20px;
    width: 20px;
    margin-right: 5px;
}

.StudentStoriesSearchItem:hover {
    background-color: #f0f0f0;
}

.StudentStoriesSearchItem:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.StudentStoriesSearchItem:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-bottom: none;
}

.StudentStoriesDeleteButton {
    color: black;
    cursor: pointer;
    display: none;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
}

.StudentStoriesSearchItem:hover .StudentStoriesDeleteButton {
    display: block;
}

.StudentStoriesLoginSignupButton {
    padding: 10px 15px;
    margin-left: 10px;
    border: 1px solid #007bff;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
        font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.StudentStoriesLoginSignupButton:hover {
    background-color: #0056b3;
}

.StudentStoriesProfilePicture, .FallbackUnique {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #007bff;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    font-weight: bold;
    margin-right: 10px;
    cursor: pointer;
}

.StudentStoriesProfileDropdown {
    position: absolute;
    top: 55px;
    right: 0;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    width: 200px;
    font-family: StudentStoriesFont;
}

.StudentStoriesProfileDropdown a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: black;
    font-size: 16px;
    border-bottom: 1px solid #ccc;
    transition: background-color 0.2s, border-radius 0s;
    border-radius: 0;
}

.StudentStoriesProfileDropdown a:hover {
    background-color: #f0f0f0;
}

.StudentStoriesProfileDropdown a:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.StudentStoriesProfileDropdown a:first-child:hover {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.StudentStoriesProfileDropdown a:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-bottom: none;
}

.StudentStoriesProfileDropdown a:last-child:hover {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.StudentStoriesMessageIcon, .StudentStoriesNotificationIcon, .StudentStoriesCreatePostIcon {
    width: 36px;
    height: 36px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    margin-right: 10px;
}

.StudentStoriesMessageIcon {
    background-image: url('/assets/images/icon/ss1.png');
}

.StudentStoriesNotificationIcon {
    background-image: url('/assets/images/icon/ss2.png');
}

.StudentStoriesCreatePostIcon {
    background-image: url('/assets/images/icon/ss3.png');
}
