* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: #ffffff;
}

.container {
    text-align: center;
    width: 100%;
    max-width: 600px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px 30px;
    position: absolute;
    top: 0;
    left: 0;
}

.dashboard-header .brand-title {
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.dashboard-header .account-link img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.8px solid #dfe1e5;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.dashboard-header .account-link img:hover {
    transform: scale(1);
    border-color: #4285f4
}

h2 {
    font-size: 20px;
    margin-bottom: 6rem;
    color: #333;
}
 
/* Search Bar */
.search-bar {
    margin-top: 20px;
    position: relative;
    width: 100%;
}

.search-bar input[type="text"] {
    width: 75%;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 24px;
    border: 1px solid #dfe1e5;
    outline: none;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
}

.search-bar input[type="text"]:focus {
    border: 1px solid #4285f4;
    box-shadow: 0 1px 8px rgba(32, 33, 36, 0.38);
}

/* Beta Tag */
.beta-tag {
    position: absolute;
    right: 17%;
    top: 50%;
    transform: translateY(-50%);
    background-color: #4285f4;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 12px;
    cursor: default;
}

.search-bar button {
    position: absolute;
    right: 14%;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #959494;
}

.search-bar button:hover {
    color: #4285f4;
}
 
/* Buttons under search bar */
.profile-menu button {
    padding: 10px 15px;
    margin: 10px 5px;
    font-size: 16px;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.2s;
}

/* Draggable Buttons */
#dashboard-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

#dashboard-buttons button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    color: #333;
    padding: 12px 20px;
    font-size: 14px;
    border: 1px solid #dfe1e5;
    border-radius: 24px;
    cursor: grab;
    transition: background 0.2s ease;
}

#dashboard-buttons button a {
    text-decoration: none;
    color: inherit;
}

#dashboard-buttons button:hover {
    background: #e8eaed;
}

/* Make dashboard buttons mobile-friendly */
@media (max-width: 600px) {
    body {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 90vh;
        background-color: #ffffff;
    }

    .container {
        text-align: center;
        width: 100%;
        max-width: 600px;
    }

    .dashboard-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 15px 15px;
        position: absolute;
        top: 0;
        left: 0;
    }

    .dashboard-header .brand-title {
        font-size: 1.4rem;
        font-weight: bold;
        text-decoration: none;
        color: #333;
    }

    .dashboard-header .account-link img {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        border: 1.8px solid #dfe1e5;
        object-fit: cover;
        cursor: pointer;
        transition: transform 0.2s ease, border-color 0.2s ease;
    }

    h2 {
        font-size: 22px;
    }

    .search-bar input[type="text"] {
        width: 94%;
        font-size: 16px;
        padding: 12px 20px;
    }

    .search-bar button {
        right: 8%;
    }

    #dashboard-buttons {
        align-items: center;
        gap: 10px;
    }

    #dashboard-buttons button {
        width: 20%;
        justify-content: center;
        font-size: 15px;
        padding: 10px 16px;
    }
}
