* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f7fb;
    color: #222;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef2ff, #f8fafc);
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.auth-card h1 {
    margin-top: 0;
}

input, textarea, button {
    width: 100%;
    padding: 12px 14px;
    margin: 10px 0;
    box-sizing: border-box;
    font-size: 14px;
    background: rgb(255 255 255 / 5%);
    border-radius: 7px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

button {
    background: #111827;
    color: #fff;
    border: none;
    cursor: pointer;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    color: white;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    /* border: 1px solid rgba(255, 255, 255, 0.3); */
}

.logo {
    font-size: 20px;
    font-weight: bold;
}

.top-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.top-actions button, .logout-btn {
width: auto;
padding: 6px 14px;
text-decoration: none;
color: white;
display: flex;
background: rgba(255, 255, 255, 0.18);
border-radius: 7px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
border: 2px solid rgba(255, 255, 255, 0.3);
cursor: pointer;
align-items: center;
}

.top-actions button:hover, .logout-btn:hover {
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: none;
    backdrop-filter: none;
    transition-duration: 0.3s;
    color: white !important;
}

.container {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 20px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.card {
    padding: 20px;
    color: black;
    text-align: left;
    background: rgba(249, 249, 249, 1);
    border-radius: 10px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(9, 125, 79, 0.3);
    font-weight: 400;

}

.searchable-item p, .searchable-item h3, .searchable-item a {
    font-weight: 400;
    color: #d4d4d4;
    text-align: left;
    font-size: 14px;
    margin-bottom: 5px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    background-color: #95959554;
    border-radius: 4px;
    color: rgb(48, 47, 47);

}

span.highlight {
    background-color: #00201329;
    padding: 3px 5px;
    box-shadow: inset 1px 1px 3px -1px #141414;
    text-align: left;
    text-decoration: none;
    width: 100%;
    border-radius: 3px;
    display: block;
    margin-left: 8px;
    margin-top: 5px;
    margin-bottom: 5px;
}

span.highlight a {
    text-decoration: none;
    padding: 0;
    margin: 0;
}

.card.searchable-item:hover {
    background-color: #ffffffff;
    box-shadow: 2px 4px 14px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    /* -webkit-backdrop-filter: blur(5px); */
    scale: 1.02;
    transition-duration: 0.3s;

}

form input, form textarea {
    color: #131313;
}

.searchable-item h3 {
    background-color: #ffffffff;
    padding: 3px 8px;
    border-radius: 4px;
    color: rgb(15, 12, 12);
    font-weight: 700;

}

header.topbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    padding: 24px;
    position: relative;
}

.close {
    position: absolute;
    right: 16px;
    top: 12px;
    font-size: 26px;
    cursor: pointer;
}
/* // Tabs */
.tabs {
    display: flex;
    gap: 5px;
    margin: 20px 0;
    background: rgb(255 255 255 / 7%);
    border-radius: 42px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 5px;
    width: fit-content;
}

.tab-btn {
    width: auto;
    padding: 10px 18px;
    font-weight: 600;
    background: rgb(255 255 255 / 0%);
    border-radius: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgb(255 255 255 / 0%);
    color: white;
    margin: 0;
    display: flex;
align-items: center;
}   

input:focus, textarea:focus {
    outline: 1px solid #bbb;
}

@media (max-width: 420px) {
    .ctatext {
    display: none;
}

.logo {
padding: 0 33px 0 0;
}
}

section#credentialsTab h2, section#notesTab h2 {
    color: white;
    margin-bottom: 20px;
}

.tab-btn.active {
    background: rgb(255 255 255 / 32%);
    border-radius: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.tab-content {
    display: none;
}

.active-tab {
    display: block;
}

/* 
Aftab Shah - 2024-06-17: Updated CSS to improve overall styling and added a logo to the header. */

.afsheader {
    background-color: rgba(34, 32, 32, 0.58);
    padding: 5px 33px;

}
.afsflexbox {
    position: relative;
    display: inline-flex;
    width: 100%;

}
.afscolunm {
    display: inline-block;
    padding: 0 10px;
    position: relative;

}
.afsclm_12 {
    width: 100%;
}
.afsclm_6 {
    width: 50%;
}
.afsclm_4 {
    width: 33.33%;
}
.afsclm_3 {
    width: 25%;
}
.afsclm_2 {
    width: 16.66%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.afsbutton a {
display: flex;
position: relative;
padding: 10px 30px;
background: linear-gradient(125deg, #ead7b2, #ead7b247, #ead7b2);
border-radius: 15px;
color: #1c1818;
text-decoration: none;
box-shadow: 1px 3px 6px -3px #fff;
filter: brightness(1.5);
margin: 0 3px;
align-items: center;
}

.afsbutton a:hover {
    background: linear-gradient(-125deg, #ead7b2, #ead7b247, #ead7b2);
    transition-duration: 0.3s;
    filter: brightness(1);
}

body {
    background: linear-gradient(-125deg, rgb(54, 48, 48), rgb(0, 0, 0));
}

.afsicon {
    display: block;
    position: relative;
    width: 15px;
    height: 15px;
    background-color: transparent;
    background: url(/assets/all_icons_afs.svg);
    background-size: auto 79%;
    background-repeat: no-repeat;
}
.afsbutton {position: relative;}