body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    background-color: #f0f4f8;
}
.device-card {
    transition: all 0.2s ease-in-out;
}
.device-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.hide-scroll::-webkit-scrollbar {
    display: none;
}
.hide-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.status-badge-ok { background-color: #dcfce7; color: #166534; }
.status-badge-no { background-color: #f1f5f9; color: #64748b; }
.status-badge-warn { background-color: #fef9c3; color: #854d0e; }

/* Segmented Control Styles */
.segment-btn { transition: all 0.2s; }
.segment-btn.active {
    background-color: white;
    color: #2563eb;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    font-weight: 700;
}

/* Accordion Transition */
.accordion-content {
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}
.accordion-content.open {
    max-height: 500px;
    opacity: 1;
}
.accordion-icon { transition: transform 0.3s ease; }
.accordion-btn[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);
}

/* Cookie Popup Overlay */
#cookie-banner-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
#cookie-banner-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

/* Cookie Popup Content */
#cookie-banner-content {
    background: white;
    width: 80%;
    height: 60%;
    max-width: 800px; 
    max-height: 600px;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
#cookie-banner-overlay.show #cookie-banner-content {
    transform: scale(1);
}

#cookie-modal {
    z-index: 2001; 
}

/* Toggle Switch */
.toggle-checkbox:checked {
    right: 0;
    border-color: #2563eb;
}
.toggle-checkbox:checked + .toggle-label {
    background-color: #2563eb;
}

.banner {
    margin: 30px auto;
    text-align: center;
}
.banner a {
    display: block;
}
.banner a img {
    margin: auto;
}
#header-common {
    padding: 10px 0;
}
#header-common .logo {
    position: relative;
    font-family: "Cal Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2rem;
    color: #2563EB;
    padding-left: 50px;
    display: inline-block;
}
#header-common .logo:before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    background: url(../../img/esimsolution.png) no-repeat left center;
    background-size: contain;
    width: 50px;
    height: 50px;
}
#commun-tool {
    padding: 20px 0;
}
#commun-tool a {
    font-size: 14px;
    font-family: "Cal Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #2563EB;
}