/* Shared site styles for POH.LV */
html {
    overflow-y: scroll;
}

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

.container {
    flex: 1;
}

.header-logo {
    max-height: 60px;
    width: auto;
}
.header-container {
    background: #252729;
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
}
header.header-container a {
    text-decoration: none !important;
}
.site-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
}
.site-subtitle {
    position: absolute;
    font-size: 1.1rem;
    opacity: 0.9;
    margin: -0.5rem 0 0 -0.5rem;
    color: #ffc43a;
}
/* Hide H1 title visually but keep for SEO */
.sr-only {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* Footer styles */
.footer {
    background: #252729;
    color: #ffffff;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer h5 {
    color: #ffffff;
    margin-bottom: 1rem;
    text-align: center;
}

.footer p {
    text-align: center;
}

.footer ul {
    text-align: center;
    padding-left: 0;
}

.footer li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: #cccccc;
    text-decoration: none;
}

.footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    margin-top: 1rem;
    text-align: center;
}

.text-muted-small {
    font-size: 0.95em;
}

.text-muted-small {
    font-size: 0.95em;
}

/* Help Icon Styles */
.help-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: #0d6efd;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 16px;
    font-size: 10px;
    font-weight: bold;
    cursor: help;
    margin-left: 4px;
    transition: all 0.2s ease;
    position: relative;
    vertical-align: super;
    font-size: 8px;
}

.help-icon:hover {
    background: #495057;
    border-color: #495057;
    transform: scale(1.15);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Enhanced tooltip for better visibility */
.help-icon[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 11px;
    white-space: normal;
    max-width: 250px;
    width: max-content;
    z-index: 1000;
    margin-bottom: 8px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
    font-weight: normal;
    line-height: 1.4;
    word-wrap: break-word;
    text-align: center;
}

.help-icon[title]:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.95);
    margin-bottom: -4px;
    z-index: 1000;
}

/* Mobile responsive tooltip */
@media (max-width: 768px) {
    .help-icon[title]:hover::after {
        max-width: 200px;
        font-size: 10px;
        padding: 6px 10px;
        left: 0;
        transform: none;
        margin-bottom: 6px;
    }
    
    .help-icon[title]:hover::before {
        left: 20px;
        transform: none;
    }
}

@media (max-width: 480px) {
    .help-icon[title]:hover::after {
        max-width: 180px;
        font-size: 9px;
        padding: 5px 8px;
    }
}

