body{
    background-color: #121212;
    font-family: Georgia, 'Times New Roman', Times, serif;
}
h1 {
    text-align: left;
    padding: 4px 8px;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #d4af37, #f5e6a3, #d4af37);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-decoration: underline;
    text-decoration-color: #d4af37;
    text-decoration-thickness: 2px;
}
/*Navigacio*/

.navbar ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.navbar{
    flex: 0 0 auto;
    width: auto;
    text-align: center;
    margin: 10px 0;
}
.navbar:first-child {
    flex: 0 0 auto;
    text-align: center;
    margin-bottom: 20px;
    margin-right: 40px;
}
.menu-link {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.menu-link:hover {
    color: #d4af37; 
}

.menu-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #d4af37, #ffffff);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.menu-link:hover::after {
    width: 100%;
}


.menu-img {
    display: block;
    height: 80px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
    background: rgb(255, 255, 255);
}
#profilediv{
    background: rgba(255, 255, 255, 0.15);
    border-left: 5px solid rgba(255, 255, 255, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    border-right: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 25px 35px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.25);
    backdrop-filter: blur(4px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto;
    margin-top: 60px;
    color: white;
    max-width: 1000px;
}

#logoutBtn{
    color: #d4af37; 
    outline: solid 1px #d4af37; 
}
#logoutBtn:hover{
    color: white; 
    background-color: #d4af3759;
    outline: solid 1px #d4af37; 
    transition: all 0.3s ease;
}
#deleteUserBtn{
    color: red; 
    background-color: rgba(255, 0, 0, 0.295);
    outline: solid 1px red;
    margin-left: 10px;
}
#deleteUserBtn:hover{
    color: white; 
    background-color: #d43737;
    transition: all 0.3s ease;

}
#updateBtn{
    color: #d4af37; 
}

#appointmentDiv{
    max-width: 1000px;
    margin: 0 auto;
}

.appointment-card {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-left: 5px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.25);
    backdrop-filter: blur(4px);
    color: white;
    transition: transform 0.3s ease;
}

.appointment-card:hover {
    transform: translateY(-5px);
}

.appointment-title {
    font-size: 1.2rem;
    color: #d4af37;
    margin: 0;
}

.appointment-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 10px 0;
}

.label-text {
    display: block;
    color: rgba(255,255,255,0.5);
}

.gold-text {
    color: #d4af37;
}

.cancel-container {
    margin-top: 15px;
    text-align: right;
}

.cancel-btn {
    background: transparent;
    color: #d4af37;
    border: 1px solid #d4af37;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.cancel-btn:hover {
    background: #d4af37;
    color: white;
}

.form-control-sm {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}
.form-control-sm:focus {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: none;
    border-color: #d4af37;
}
.edit-link:hover {
    text-decoration: underline;
    color: #d4af37;
}
.back-btn-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 40px 0;
}

.back-btn {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 10px 25px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 600;
    text-align: center;
    max-width: 90%;
}
.back-btn:hover {
    color: white;
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}