@charset "UTF-8";

/* =========================================
   Layout & Global Styles
   Target: Header, Footer, Navigation, Resets
   ========================================= */

/* Global Resets or Overrides */
body {
    font-size: 14.4px;
    /* Reduced from 15px (~4%) */
    color: #333;
    line-height: 1.6;
}

/* Breadcrumb Override (Global) */
.breadcrumb-item+.breadcrumb-item::before {
    content: ">";
}

/* =========================================
   Header & Navigation
   ========================================= */
.navbar-brand-custom {
    margin-right: auto;
    margin-left: auto;
    display: table;
}

.navbar-main {
    background-color: #073a7e;
    width: 100%;
    position: relative;
}

.nav-link-custom {
    font-size: 16px;
    /* Reduced from 18px */
    font-weight: 600;
}

.dropdown-menu {
    min-width: 230px;
}

/* Dropdown Animation */
.fade-down {
    animation-name: fadeDown;
    animation-duration: 0.3s;
    animation-fill-mode: both;
}

@keyframes fadeDown {
    0% {
        opacity: 0;
        transform: translate3d(0, -10px, 0);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

/* =========================================
   Sidebar / Submenu
   ========================================= */
.sub_menu {
    border: 1px solid #e0e0e0;
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.sub_menu_h {
    text-align: center;
    height: 60px;
    background-color: #073a7e;
    line-height: 60px;
    font-family: "Nanum Gothic", sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
}

.sub_menu_item {
    border-bottom: 1px solid #f0f0f0;
}

.sub_menu_item:last-child {
    border-bottom: none;
}

.sub_menu_item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: #494949;
    text-decoration: none;
    font-size: 14px;
    font-family: "Nanum Gothic", sans-serif;
    transition: all 0.2s;
}

.sub_menu_item a:hover,
.sub_menu_item a.active {
    background-color: #f8f9fa;
    color: #073a7e;
    font-weight: bold;
}

.submenu-icon {
    font-size: 0.8rem;
    color: #ccc;
}

/* =========================================
   Standard Page Layout Containers
   Target: Reference, Worker Opinion, etc.
   ========================================= */
.register-container {
    padding-top: 30px;
    padding-bottom: 50px;
}

.business-card {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
    background: white;
}

.business-header {
    background: linear-gradient(135deg, #073a7e 0%, #052c65 100%);
    color: white;
    padding: 2rem 1.5rem;
}

.business-header h3 {
    font-weight: 700;
    margin: 0;
    font-size: 1.6rem;
}

.business-header p {
    margin-top: 5px;
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* =========================================
   Common Components
   ========================================= */
.search-area {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.thead-th-custom {
    background-color: #073a7e;
    color: white;
    text-align: center;
}

/* =========================================
   Footer Styles
   ========================================= */
#footer {
    width: 100%;
    /* legacy min-width removed to fit mobile/responsive needs, relies on bootstrap container */
    background-color: #f8f9fa;
    border-top: 1px solid #e7e7e7;
    color: #666;
    /* Standardized text color */
}

#footer a {
    color: #666;
    /* Change blue links to theme gray */
    transition: color 0.2s;
}

#footer a:hover {
    color: #073a7e;
    text-decoration: none;
}


.address-mark {
    color: #4a4a4a;
    font-weight: 600;
    font-size: 26px;
    text-decoration: none;
}

.address-mark:hover {
    text-decoration: none;
    color: #073a7e;
}



/* Floating Action Buttons */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.fab-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #073a7e 0%, #052c65 100%);
    color: white !important;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 20px;
    position: relative;
    overflow: hidden;
}

.fab-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #0056b3 0%, #004494 100%);
    color: #fff !important;
}

/* Tooltip */
.fab-btn[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 60px;
    background-color: rgba(33, 37, 41, 0.9);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    transform: translateX(10px);
}

.fab-btn:hover[data-tooltip]::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}