/* Acids Page Styles */

.acid-section {
padding: 6vw;
background-color: #ffffff;
}

.acid-container {
display: flex;
gap: 2vw;
align-items: flex-start;
}

/* Tabs Styling */
.acid-tabs {
width: 25%;
display: flex;
flex-direction: column;
gap: 0.8vw; /* Floating tabs spacing */
}

.acid-tabs-header {
background-color: transparent;
color: var(--brand-blue);
padding: 0 0 clamp(8px, 1vw, 16px) 0;
text-align: left;
font-weight: 800;
font-size: clamp(18px, 1.4vw, 24px);
text-transform: uppercase;
margin-bottom: clamp(6px, 0.5vw, 12px);
border-bottom: 0.2vw solid var(--brand-blue);
display: inline-block;
width: fit-content;
}

.acid-tab {
background-color: #ffffff; 
color: var(--brand-blue);
border: 1px solid rgba(0, 58, 93, 0.05);
border-radius: 0.6vw;
padding: clamp(12px, 1.2vw, 20px) clamp(16px, 1.5vw, 24px);
text-align: left; /* Modern alignment */
font-family: 'Montserrat', sans-serif;
font-size: clamp(14px, 1.05vw, 18px);
font-weight: 600;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
box-shadow: 0 0.2vw 0.8vw rgba(0, 58, 93, 0.03);
margin-bottom: 0;
}

.acid-tab:hover {
background-color: #f8fafc;
transform: translateX(0.5vw);
box-shadow: 0 0.4vw 1.2vw rgba(0, 58, 93, 0.08);
border-color: rgba(0, 58, 93, 0.1);
}

.acid-tab.active {
background-color: var(--brand-blue); 
color: #ffffff;
font-weight: 700;
transform: translateX(1vw);
box-shadow: 0 0.6vw 1.5vw rgba(0, 58, 93, 0.2);
border: none;
}

/* Tables Styling */
.acid-tables {
width: 75%;
margin-left: 2vw;
}

.acid-table-wrapper {
display: none;
animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
background: #ffffff;
border-radius: 1vw;
box-shadow: 0 1vw 3vw rgba(0, 58, 93, 0.08);
overflow: hidden;
border: 1px solid rgba(0, 58, 93, 0.05);
}

.acid-table-wrapper.active {
display: block;
}

@keyframes slideUp {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}

.acid-data-table {
width: 100%;
border-collapse: collapse;
}

.acid-data-table th, 
.acid-data-table td {
padding: clamp(14px, 1.8vw, 24px) clamp(18px, 2.5vw, 32px);
text-align: left;
font-size: clamp(14px, 1.05vw, 18px);
color: #475569;
}

.acid-data-table th {
background-color: var(--brand-blue);
color: #ffffff;
font-weight: 700;
font-size: clamp(15px, 1.1vw, 18px);
text-transform: uppercase;
letter-spacing: 0.05vw;
}

.acid-data-table td:first-child {
font-weight: 600;
color: var(--brand-blue);
}

/* Subtle Row Alternation */
.acid-data-table tbody tr {
transition: all 0.3s ease;
border-bottom: 1px solid rgba(0, 58, 93, 0.05);
}

.acid-data-table tbody tr:nth-child(even) {
background-color: rgba(0, 58, 93, 0.02);
}

.acid-data-table tbody tr:nth-child(odd) {
background-color: #ffffff;
}

.acid-data-table tbody tr:last-child {
border-bottom: none;
}

.acid-data-table tbody tr:hover {
background-color: rgba(0, 58, 93, 0.04) !important;
}

/* Responsive */
@media (max-width: 1020px) {
.acid-container {
flex-direction: column;
}
.acid-tabs, .acid-tables {
width: 100%;
margin-left: 0;
}
.acid-tabs {
margin-bottom: 4vw;
}
.acid-tabs-header { font-size: 3vw; padding: 2vw; }
.acid-tab { font-size: 2.5vw; padding: 2.5vw; transform: none; }
.acid-tab.active { transform: none; }
.acid-tab:hover { transform: none; }
}

@media (max-width: 720px) {
.acid-tabs-header { font-size: 5vw; padding: 3vw; }
.acid-tab { font-size: 4vw; padding: 4vw; }

.acid-data-table {
display: block;
overflow-x: auto;
}
.acid-data-table th, .acid-data-table td {
font-size: 4vw;
padding: 3vw;
min-width: 35vw;
}
}
