   body 
    {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        margin: 0;
        background-color: #f4f4f4;
    }
    .hidden {
        display: none;
    }
    
    header 
    {
        background-color: #303030;
        color: white;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: clamp(0.5rem, 3vh, 1.5rem);
        flex-wrap: wrap;
        gap: 10px;
    }
    header > a:first-child {
        flex: 1; 
        display: flex;
        justify-content: flex-start;
        text-decoration: none;
    }

    #title-container {
        flex: 2;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #header-title {
            color: white;
            text-decoration: none;
            text-align: center;
        }
    #header-title h1 {
            font-size: clamp(1.3rem, 3vw, 2.2rem); 
            margin: 0;
            white-space: nowrap;
        }

    
    .header-buttons {
            flex: 1;
            display: flex;
            justify-content: flex-end;
            gap: clamp(5px, 1vw, 15px);
            align-items: center;
        }
    .header-buttons button {
            background-color: #dd6413;
            color: white;
            border: none;
            margin-left: 10px;
            cursor: pointer;
            font-weight: bold;
            transition: background-color 0.3s;
            font-size: clamp(0.8rem, 0.75vw, 1.1rem);
            padding: 0.6em 1.2em; 
            border-radius: 0.3em; 
        }
    .header-buttons button:hover {
            background-color: #d35400;
        }

    #header-login {
            background-color: transparent;
            border: 2px solid #ffffff;
            padding: 0.5em 1.2em; 
        }
    #header-login:hover {
            background-color: #ffffff;
            color: #303030;
        }


    #header-logout{
        background-color: transparent;
        border: 2px solid #ffffff;
        padding: 0.5em 1.2em; 
    }
    #header-logout:hover {
            background-color: #ffffff;
            color: #303030;
        }


    #header-profile{
       width: 60px;
       border-radius: 100px;
    }

    #header-profile.isLoggedIn{
        display: block;
    }

    #ad-upload-btn {
        background-color: transparent;
        color: #dd6413;
        border: 3px solid #dd6413;
        cursor: pointer;
        border-radius: 6px;
        font-weight: bold;
        transition: background-color 0.3s;
        transition: border-radius 0.3s;
    }
    #ad-upload-btn:hover {
        background-color: #dd6413;
        color: white;
    }
    
    .window-container{
        display: flex;
            justify-content: center;
            align-items: center;
            height: 80vh;
    }


    .form-group {
            margin-bottom: 20px;
            text-align: left;
        }

    label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
            color: #555;
        }
        

    input {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 6px;
            box-sizing: border-box;
        }

    input:focus {
            outline: none;
            border-color: #e67e22;
        }


    .links {
            margin-top: 20px;
            font-size: 0.9rem;
        }

    .links a {
            color: #2c3e50;
            text-decoration: none;
        }

    .links a:hover {
            text-decoration: underline;
        }

    .back-home {
            margin-top: 15px;
            display: inline-block;
            font-size: 0.85rem;
        }

    .header-profile-link:hover {
        cursor: pointer;
    }
    
    @media (max-width: 600px) {
        .header-buttons {
            flex-direction: row;
            text-align: center;
            gap: 3px;
        }
    }

    @media (max-width: 473px) {
        .header-buttons {
            display: grid;
            grid-template-columns: auto auto;
            justify-content: end;
            gap: 5px 10px; 
            width: 100%;
        }

        .header-buttons button {
            width: 65px; 
            font-size: clamp(0.6rem, 1.5vw, 1rem);
        }

        #ad-upload-btn {
            grid-column: 1;
            grid-row: 1;
            padding: 7px 12px;
        }

        #header-logout {
            grid-column: 1;
            grid-row: 2;
            padding: 7px 12px;
        }

        #header-profile-link {
            grid-column: 2;
            grid-row: 1 / span 2;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        #header-profile {
            width: 58px;
        }
    }
