/* common.css - Shared Header Styles */
.header {
    width: 100%;
    height: 60px;
    background-color: #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

.header-spacer {
    width: 120px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding-left: 10px;
}

.btn-header-back-link {
    display: inline-block;
    padding: 6px 20px;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
}

.btn-header-back-link:hover {
    opacity: 0.8;
    color: #ffffff;
}

.header-title {
    font-size: 20px;
    font-weight: bold;
    color: #333333;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    pointer-events: none;
}

.header-menu {
    position: relative;
    z-index: 1000;
    width: 100px;
    display: flex;
    justify-content: flex-end;
}

.menu-gear {
    background: linear-gradient(to bottom, #ffffff 0%, #e6e6e6 100%);
    border: 1px solid #bcbcbc;
    border-radius: 4px;
    padding: 4px 12px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 2px rgba(0,0,0,0.05);
}

.menu-gear:hover {
    background: linear-gradient(to bottom, #f2f2f2 0%, #d9d9d9 100%);
}

.menu-gear::after {
    content: "▼";
    font-size: 10px;
    margin-left: 6px;
    color: #666;
}

.menu-box {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 5px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    min-width: 160px;
    overflow: hidden;
}

.header-menu.is-open .menu-box {
    display: block;
}

.menu-link {
    display: block;
    padding: 10px 15px;
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #eeeeee;
}

.menu-link:last-child {
    border-bottom: none;
}

.menu-link:hover, .menu-link.is-active {
    background-color: #f5f5f5;
    color: #000;
    font-weight: bold;
}

.header-welcome {
    padding: 12px 20px 12px 30px;
    font-size: 16px;
    color: #333333;
    background-color: #ffffff;
    text-align: left;
    /* border-bottom: 1px solid #f0f0f0; */
}

.footer {
    width: 100%;
     background-color: #f2f2f2;
    border-top: 1px solid #e0e0e0;
    box-shadow: 1px 0 3px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    margin-top: auto;
}

.footer-content {
    text-align: center;
    font-size: 16px;
    color: #666;
}
