

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: #7b35d0;
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin-left: 20px;
}

a {
    color: #fff;
    text-decoration: none;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    overflow: auto;
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.required {
    color: red;
}

/* Form */
form {
    display: grid;
    grid-gap: 10px;
}

label {
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="file"],
button[type="submit"] {
    width: 100%;
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

input[type="file"] {
    padding: 5px;
}

button[type="submit"] {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #45a049;
}


.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
}

/* Error message  */
#message {
    margin-top: 10px;
    font-size: 14px;
}

.tabs {
    overflow: hidden;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
}

.tabs button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
    border-bottom: 2px solid transparent;
}

.tabs button:hover {
    background-color: #ddd;
}

.tabs button.active {
    background-color: #fff;
    border-bottom: 2px solid #7b35d0;
}

/* Tab stuff */
.tab-content {
    display: none;
}

.tab-content h2 {
    margin-top: 0;
}

.tab-content.active {
    display: block;
}


/* Notification Modal */
#notificationModal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

/* Modal Content */
#notificationModal .modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    border-radius: 10px; 
    color: black;
}

/* Close Button */
#notificationModal .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

#notificationModal .close:hover,
#notificationModal .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Notification Item */
.notification-item {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}

.notification-item:hover {
    background-color: #f9f9f9;
}


#notificationBtn {
    float: right;
}



/* Modal Content */
#notificationDetailsModal .modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    color: black;
}

/* Notification Details Modal--------------- */
#notificationDetailsModal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
   
}

/* Notification Details */
#detailsClose {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

#detailsClose:hover,
#detailsClose:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


#detailsSubject {
    margin-top: 0;
    font-size: 24px;
    font-weight: bold;
}

#detailsSender {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
}

#detailsBody {
    font-size: 16px;
    line-height: 1.5;
}

.read-notification {
    background-color: #f2f2f2; 
}

.read-notification:hover {
    background-color: #d3d3d3; 
}

/* Instagram stuff */
#instagramInfoModal .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    padding-top: 60px;
}

#instagramInfoModal .modal-content {
    background-color: #fefefe;
    color:rgb(0, 0, 0);
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

#instagramInfoBtn {
    float: right;
}
