
.elms-25875 .elms-element.elms-element-82d6e18{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;}.elms-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elms-widget-text-editor.elms-drop-cap-view-stacked .elms-drop-cap{background-color:var( --e-global-color-primary );}.elms-widget-text-editor.elms-drop-cap-view-framed .elms-drop-cap, .elms-widget-text-editor.elms-drop-cap-view-default .elms-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elms-25875 .elms-element.elms-element-5c4e027{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;}.elms-25875 .elms-element.elms-element-428a592{width:var( --container-widget-width, 118.059% );max-width:118.059%;--container-widget-width:118.059%;--container-widget-flex-grow:0;}.elms-25875 .elms-element.elms-element-428a592.elms-element{--flex-grow:0;--flex-shrink:0;}.elms-25875 .elms-element.elms-element-bf0772a{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;}:root {
--primary: #2c3e50;
--secondary: #34495e;
--accent: #3498db;
--card-bg: rgba(255, 255, 255, 0.95);
--success: #2ecc71;
--warning:  #e74c3c;
--info: #9b59b6;
--text-primary: #2c3e50;
--text-secondary: #7f8c8d;
--border: rgba(44, 62, 80, 0.1);
--shadow: rgba(0, 0, 0, 0.1);
}
.container {
max-width: 1200px;
margin: 2rem auto;
padding: 2rem;
animation: fadeIn 1s ease-out;
}
.header {
text-align: center;
margin-bottom: 3rem;
color: white;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}
.header h1 {
font-size: 3.5rem;
margin: 0;
font-weight: 800;
letter-spacing: -1px;
color: #000; 
animation: slideIn 1s ease-out;
}
.header p {
font-size: 15px;
margin: 0;
font-weight: 800;
letter-spacing: -1px;
color: #000; 
animation: slideIn 1s ease-out;
}
.search-container {
margin: 2rem auto;
max-width: 600px;
position: relative;
}
#searchInput {
width: 100%;
padding: 1.2rem 2rem;
font-size: 1.1rem;
border: none;
border-radius: 50px;
background: var(--card-bg);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10px);
transition: all 0.3s ease;
}
#searchInput:focus {
outline: none;
transform: scale(1.02);
animation: glowPulse 2s infinite;
}
.table-container {
background: var(--card-bg);
border-radius: 20px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
overflow: hidden;
backdrop-filter: blur(10px);
transform: translateZ(0);
}
table {
width: 100%;
border-collapse: separate;
border-spacing: 0;
padding: 0.5rem;
}
th {
background: var(--primary);
color: white;
padding: 1.5rem;
font-size: 0.9rem;
text-transform: uppercase;
letter-spacing: 1px;
position: sticky;
top: 0;
z-index: 10;
}
th:first-child { border-top-left-radius: 15px; }
th:last-child { border-top-right-radius: 15px; }
td {
padding: 1.2rem;
border-bottom: 1px solid var(--border);
transition: all 0.3s ease;
}
tbody tr {
transition: all 0.3s ease;
animation: fadeIn 0.5s ease-out;
}
tbody tr:hover {
transform: translateX(10px) scale(1.01);
background: rgba(255, 255, 255, 0.9);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
tr[data-period="anuradhapura"] {
background: linear-gradient(45deg, rgba(52, 152, 219, 0.05), rgba(52, 152, 219, 0.1));
}
tr[data-period="polonnaruwa"] {
background: linear-gradient(45deg, rgba(46, 204, 113, 0.05), rgba(46, 204, 113, 0.1));
}
tr[data-period="dambadeniya"] {
background: linear-gradient(45deg, rgba(155, 89, 182, 0.05), rgba(155, 89, 182, 0.1));
}
tr[data-period="gampola"] {
background: linear-gradient(45deg, rgba(241, 196, 15, 0.05), rgba(241, 196, 15, 0.1));
}
tr[data-period="kotte"] {
background: linear-gradient(45deg, rgba(231, 76, 60, 0.05), rgba(231, 76, 60, 0.1));
}
tr[data-period="kandy"] {
background: linear-gradient(45deg, rgba(52, 73, 94, 0.05), rgba(52, 73, 94, 0.1));
}
td:first-child {
position: relative;
}
td:first-child::before {
content: '';
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 4px;
height: 70%;
border-radius: 2px;
transition: all 0.3s ease;
}
tr[data-period="anuradhapura"] td:first-child::before { background: var(--accent); }
tr[data-period="polonnaruwa"] td:first-child::before { background: var(--success); }
tr[data-period="dambadeniya"] td:first-child::before { background: var(--info); }
tr[data-period="gampola"] td:first-child::before { background: var(--warning); }
tr[data-period="kotte"] td:first-child::before { background: var(--danger); }
tr[data-period="kandy"] td:first-child::before { background: var(--secondary); }
@media screen and (max-width: 768px) {
.container {
padding: 1rem;
margin: 0;
}
.header h1 {
font-size: 2rem;
}
#searchInput {
padding: 1rem 1.5rem;
}
table {
display: block;
}
thead {
display: none;
}
tbody tr {
display: grid;
grid-template-columns: 1fr;
gap: 0.5rem;
padding: 1rem;
margin-bottom: 1rem;
background: var(--card-bg);
border-radius: 10px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
td {
display: grid;
grid-template-columns: 1fr 2fr;
padding: 0.8rem;
border: none;
}
td::before {
content: attr(aria-label);
font-weight: 600;
color: var(--text-secondary);
text-transform: uppercase;
font-size: 0.75rem;
letter-spacing: 0.5px;
}
tbody tr:hover {
transform: translateY(-5px);
}
}
@keyframes highlight {
0% { background: rgba(52, 152, 219, 0.2); }
100% { background: transparent; }
}
.highlight {
animation: highlight 1s ease-out;
}
@keyframes shimmer {
0% { background-position: -1000px 0; }
100% { background-position: 1000px 0; }
}
.loading {
background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
background-size: 1000px 100%;
animation: shimmer 2s infinite linear;
}