:root {
    --primary-yellow: #F5B731;
    --primary-yellow-hover: #e0a320;
    --dark-text: #333333;
    --light-bg: #f8f9fa;
}

body {
    background-image: url('../images/fondo%20textura.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-family: 'Inter', sans-serif;
    color: var(--dark-text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary {
    background-color: var(--primary-yellow) !important;
    border-color: var(--primary-yellow) !important;
    color: #000 !important;
    font-weight: bold;
}

.btn-primary:hover {
    background-color: var(--primary-yellow-hover) !important;
}

.navbar {
    background-color: transparent;
    padding: 1rem 2rem;
}

.navbar-brand img {
    height: 70px;
}

.content-wrapper {
    flex-grow: 1;
    background-color: rgba(255,255,255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    margin: 1rem 2rem;
    width: auto;
    max-width: none;
}

.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.footer {
    background-color: transparent;
    color: var(--dark-text);
    padding: 2rem 0;
    text-align: center;
    margin-top: auto;
    font-weight: bold;
}

.footer a {
    color: #444;
    text-decoration: underline;
    font-weight: bold;
}
.text-wrap {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}
.link-wrap {
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}
.transparencia-view p {
    text-align: justify;
}
.allow-wrap { 
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word; 
}

/* Botones de Categorías (Tabs) en Transparencia */
.btn-category {
    background-color: #f8f9fa !important;
    color: #4b5563 !important;
    border: 1px solid #d1d5db !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
}

.btn-category:hover {
    background-color: rgba(245, 183, 49, 0.1) !important;
    color: var(--primary-yellow-hover) !important;
    border-color: var(--primary-yellow-hover) !important;
    transform: translateY(-1px);
}

.btn-category.active,
.btn-category.active:hover {
    background-color: var(--primary-yellow) !important;
    border-color: var(--primary-yellow) !important;
    color: #000 !important;
    box-shadow: 0 4px 12px rgba(245, 183, 49, 0.35) !important;
    transform: translateY(0);
}

.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;   
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fab-options {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}

.fab-container:hover .fab-options {
    height: auto;
    opacity: 1;
    margin-bottom: 15px;
}

.fab-button {
    width: 85px;
    height: 85px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
    border: 2px solid #ccc;
}

.home-fab-container .home-fab-button .home-fab-icon {
    width: 68px;
    height: 68px;
    border-radius: 10%;
    animation: jump-attention 3s ease-in-out infinite ;
    display: flex;
    margin-left: -8px !important;
}

@keyframes jump-attention {
    0% { transform: translateY(0); }
    10% { transform: translateY(-15px); }
    20% { transform: translateY(0); }
    30% { transform: translateY(-7px); }
    40% { transform: translateY(0); }
    100% { transform: translateY(0); }
}

.fab-container:hover .fab-button {
    transform: scale(1.05);
}

.fab-action {
    width: 65px;
    height: 65px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease;
    text-decoration: none;
}

.fab-action img {
    width: 80px;
    border-radius: 4px; /* Slight rounding for general icons */
}

.fab-action:hover {
    transform: scale(1.1);
}


/* Tooltip message */
.fab-tooltip {
    position: absolute;
    right: 105px;
    background-color: #fff;
    color: #333;
    padding: 15px 25px;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(10px);
    font-size: 1.4rem;
    font-weight: bold;
}
.fab-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
}

.fab-container:hover .fab-tooltip {
    opacity: 1;
    transform: translateX(0);
}