← Kapat
wt-style.css
/* Hidden slider */
.wt-hidden-slider {
opacity: 0;
position: absolute;
width: 100%;
height: 100%;
}
/* Base grid layouts */
.wt-info-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr));
gap: 1.5rem;
margin-bottom: 3rem;
}
.wt-mental-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
margin-bottom: 3rem;
}
.wt-quality-grid,
.wt-environmental-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
margin-bottom: 3rem;
}
/* Base card */
.wt-card {
background: rgba(39, 39, 42, 0.5);
padding: 1.5rem;
border-radius: 0.5rem;
border: 1px solid rgba(156, 163, 175, 0.2);
}
/* Card variants */
.wt-info-card-dark {
border-color: rgba(16, 185, 129, 0.2);
}
.wt-info-card-purple {
border-color: rgba(99, 102, 241, 0.2);
}
/* Flex containers */
.wt-flex {
display: flex;
gap: 1rem;
}
.wt-flex-center {
align-items: center;
margin-bottom: 1rem;
}
.wt-flex-start {
align-items: flex-start;
}
/* Icons */
.wt-icon {
padding: 0.5rem;
border-radius: 0.5rem;
flex-shrink: 0;
}
/* Typography */
.wt-title {
font-size: 1.125rem;
font-weight: 600;
margin-bottom: 0.5rem;
}
.wt-title-large {
font-size: 1.25rem;
font-weight: bold;
margin-bottom: 1rem;
}
.wt-section-title {
text-align: center;
font-size: 2rem;
font-weight: bold;
margin-bottom: 2rem;
}
.wt-text {
font-size: 0.875rem;
color: #d1d5db;
}
/* Lists */
.wt-list {
margin: 0;
padding: 0;
list-style: none;
}
.wt-list-item {
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 0.75rem;
}
.wt-list-item-start {
align-items: flex-start;
}
/* Dot indicator */
.wt-dot {
width: 1.25rem;
height: 1.25rem;
display: flex;
align-items: center;
justify-content: center;
}
.wt-dot-inner {
width: 0.5rem;
height: 0.5rem;
border-radius: 50%;
background: #3B82F6;
}
/* Color variants */
.wt-green {
color: #10B981;
}
.wt-purple {
color: #6366F1;
}
.wt-pink {
color: #EC4899;
}
.wt-blue {
color: #3B82F6;
}
.wt-yellow {
color: #FBBF24;
}
.wt-orange {
color: #F59E0B;
}
.wt-violet {
color: #8B5CF6;
}
.wt-bg-green {
background: rgba(16, 185, 129, 0.2);
}
.wt-bg-purple {
background: rgba(99, 102, 241, 0.2);
}
.wt-bg-pink {
background: rgba(236, 72, 153, 0.2);
}
.wt-bg-blue {
background: rgba(59, 130, 246, 0.2);
}
.wt-bg-yellow {
background: rgba(251, 191, 36, 0.2);
}
.wt-bg-orange {
background: rgba(245, 158, 11, 0.2);
}
.wt-bg-violet {
background: rgba(139, 92, 246, 0.2);
}
.activity-btn,
.climate-btn,
.special-btn {
cursor: pointer;
transition: all 0.3s ease;
}
.activity-btn:hover,
.climate-btn:hover,
.special-btn:hover {
border-color: rgba(59, 130, 246, 0.4) !important;
transform: translateY(-2px);
}
.wt-activity-btn.active,
.climate-btn.active,
.special-btn.active {
border: 2px solid #3B82F6 !important;
background: rgba(59, 130, 246, 0.2) !important;
}
#water-amount {
transition: transform 0.2s ease;
}
/* Water Calculator Specific Styles - Moved from inline styles */
/* Input label styles */
.wt-input-label {
display: flex;
align-items: center;
gap: 0.75rem;
background: rgba(59, 130, 246, 0.1);
padding: 0.75rem;
border-radius: 0.5rem;
border: 1px solid rgba(59, 130, 246, 0.2);
}
/* Button interaction improvements */
.wt-activity-btn:hover:not(.active),
.wt-climate-btn:hover:not(.active),
.wt-special-btn:hover:not(.active) {
border-color: rgba(59, 130, 246, 0.4) !important;
background: rgba(59, 130, 246, 0.1) !important;
transform: translateY(-2px);
}
.wt-input-label-text {
color: #93C5FD;
}
.wt-input-label svg {
color: #3B82F6;
}
/* Weight input styles */
.wt-weight-input {
width: 6rem;
padding: 0.5rem 1rem;
text-align: center;
background: rgba(59, 130, 246, 0.1);
border: 1px solid rgba(59, 130, 246, 0.2);
border-radius: 0.5rem;
color: #93C5FD;
}
.wt-weight-input-container {
display: flex;
align-items: center;
justify-content: center;
}
.wt-weight-unit {
margin: 0 0.5rem;
color: #3B82F6;
font-weight: bold;
}
.wt-slider-labels {
display: flex;
justify-content: space-between;
font-size: 0.75rem;
color: rgba(59, 130, 246, 0.6);
margin-top: 0.25rem;
}
/* Activity button styles */
.wt-activity-buttons {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 0.75rem;
margin-top: 1rem;
}
.wt-activity-btn {
padding: 1rem;
border-radius: 0.5rem;
border: 2px solid rgba(59, 130, 246, 0.2);
background: rgba(59, 130, 246, 0.05);
transition: all 0.3s;
text-align: left;
position: relative;
overflow: hidden;
}
.wt-activity-btn.active {
border: 2px solid #3B82F6;
background: rgba(59, 130, 246, 0.2);
}
.wt-activity-btn-content {
position: relative;
z-index: 10;
display: flex;
align-items: center;
gap: 0.75rem;
}
.wt-activity-btn-content svg {
color: #93C5FD;
}
.wt-activity-btn.active .wt-activity-btn-content svg {
color: #3B82F6;
}
.wt-activity-btn-title {
font-weight: 500;
color: #93C5FD;
}
.wt-activity-btn-desc {
font-size: 0.875rem;
color: rgba(147, 197, 253, 0.8);
}
/* Climate button styles */
.wt-climate-buttons {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 0.75rem;
margin-top: 1rem;
}
.wt-climate-btn {
padding: 1rem;
border-radius: 0.5rem;
border: 2px solid rgba(59, 130, 246, 0.2);
background: rgba(59, 130, 246, 0.05);
transition: all 0.3s;
position: relative;
overflow: hidden;
}
.wt-climate-btn.active {
border: 2px solid #3B82F6;
background: rgba(59, 130, 246, 0.2);
}
.wt-climate-btn-content {
position: relative;
z-index: 10;
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
}
.wt-climate-btn-content svg {
color: #93C5FD;
}
.wt-climate-btn.active .wt-climate-btn-content svg {
color: #3B82F6;
}
.wt-climate-btn-text {
font-size: 0.875rem;
color: #93C5FD;
}
/* Special condition button styles */
.wt-special-buttons {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 0.75rem;
margin-top: 1rem;
}
.wt-special-btn {
padding: 1rem;
border-radius: 0.5rem;
border: 2px solid rgba(59, 130, 246, 0.2);
background: rgba(59, 130, 246, 0.05);
transition: all 0.3s;
text-align: left;
position: relative;
overflow: hidden;
}
.wt-special-btn-content {
position: relative;
z-index: 10;
display: flex;
align-items: center;
flex-direction: column;
gap: 0.75rem;
}
.wt-special-btn-content svg {
color: #93C5FD;
}
.wt-special-btn-text {
color: #93C5FD;
}
/* Water results styles */
.wt-results {
top: 6rem;
padding: 1rem;
border-radius: 0.75rem;
background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.14) 100%);
border: 1px solid rgba(59, 130, 246, 0.3);
overflow: hidden;
}
.wt-results-content {
position: relative;
z-index: 10;
}
.wt-results-title {
font-size: 1.5rem;
font-weight: bold;
color: #93C5FD;
text-align: center;
}
.wt-results-amount-container {
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1.5rem;
}
.wt-results-amount {
font-size: 3.75rem;
font-weight: bold;
color: #3B82F6;
}
.wt-results-unit {
font-size: 1.5rem;
margin-left: 0.5rem;
color: #93C5FD;
}
.wt-factors-section {
margin-bottom: 1.5rem;
}
.wt-factors-title {
font-size: 0.875rem;
font-weight: 500;
color: #93C5FD;
margin-bottom: 0.5rem;
}
.wt-factors-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1rem;
}
.wt-factor-item {
background: rgba(59, 130, 246, 0.1);
padding: 0.75rem;
border-radius: 0.5rem;
border: 1px solid rgba(59, 130, 246, 0.2);
}
.wt-factor-label {
font-size: 0.875rem;
color: #93C5FD;
}
.wt-factor-value {
font-size: 1.125rem;
font-weight: 600;
color: #93C5FD;
}
.wt-results-note {
margin-top: 1.5rem;
padding: 1rem;
background: rgba(59, 130, 246, 0.1);
border-radius: 0.5rem;
border: 1px solid rgba(59, 130, 246, 0.2);
}
.wt-results-note p {
font-size: 0.875rem;
color: #93C5FD;
}
/* Water information card styles */
.wt-info-card {
background: rgba(39, 39, 42, 0.5);
padding: 1.5rem;
border-radius: 0.5rem;
border: 1px solid rgba(59, 130, 246, 0.2);
}
.wt-info-card-flex {
display: flex;
align-items: flex-start;
gap: 1rem;
}
.wt-info-icon {
padding: 0.5rem;
border-radius: 0.5rem;
background: rgba(59, 130, 246, 0.2);
}
.wt-info-title {
font-size: 1.125rem;
font-weight: 600;
margin-bottom: 0.5rem;
color: #3B82F6;
}
.wt-info-text {
font-size: 0.875rem;
color: #d1d5db;
}
/* Dehydration symptoms styles */
.wt-symptoms-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
margin-bottom: 3rem;
}
.wt-symptoms-card {
background: rgba(39, 39, 42, 0.5);
padding: 1.5rem;
border-radius: 0.5rem;
border: 1px solid rgba(156, 163, 175, 0.2);
}
.wt-symptoms-title {
font-size: 1.25rem;
font-weight: bold;
margin-bottom: 1rem;
}
.wt-symptoms-title.early {
color: #f87171;
}
.wt-symptoms-title.advanced {
color: #dc2626;
}
.wt-symptoms-list {
margin: 0;
padding: 0;
list-style: none;
}
.wt-symptoms-item {
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 0.5rem;
}
.wt-symptoms-dot {
width: 0.5rem;
height: 0.5rem;
border-radius: 50%;
}
.wt-symptoms-dot.early {
background: #f87171;
}
.wt-symptoms-dot.advanced {
background: #dc2626;
}
/* Food water content styles */
.wt-food-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 1rem;
margin-bottom: 3rem;
}
.wt-food-item {
background: rgba(39, 39, 42, 0.5);
padding: 1rem;
border-radius: 0.5rem;
border: 1px solid rgba(156, 163, 175, 0.2);
text-align: center;
}
.wt-food-name {
font-weight: 500;
margin-bottom: 0.5rem;
}
.wt-progress-bar {
position: relative;
height: 0.5rem;
background: #374151;
border-radius: 9999px;
overflow: hidden;
margin-bottom: 0.5rem;
}
.wt-progress-fill {
position: absolute;
height: 100%;
border-radius: 9999px;
}
.wt-progress-fill.cucumber {
background: #22C55E;
width: 96%;
}
.wt-progress-fill.tomato {
background: #EF4444;
width: 94%;
}
.wt-progress-fill.watermelon {
background: #F87171;
width: 92%;
}
.wt-progress-fill.orange {
background: #FB923C;
width: 87%;
}
.wt-progress-fill.apple {
background: #34D399;
width: 84%;
}
.wt-progress-fill.banana {
background: #FBBF24;
width: 74%;
}
.wt-progress-fill.yogurt {
background: #60A5FA;
width: 85%;
}
.wt-progress-fill.milk {
background: #93C5FD;
width: 87%;
}
.wt-food-percentage {
font-size: 0.875rem;
margin: 0;
}
.wt-food-percentage.cucumber {
color: #22C55E;
}
.wt-food-percentage.tomato {
color: #EF4444;
}
.wt-food-percentage.watermelon {
color: #F87171;
}
.wt-food-percentage.orange {
color: #FB923C;
}
.wt-food-percentage.apple {
color: #34D399;
}
.wt-food-percentage.banana {
color: #FBBF24;
}
.wt-food-percentage.yogurt {
color: #60A5FA;
}
.wt-food-percentage.milk {
color: #93C5FD;
}
/* Special situations styles */
.wt-special-situations-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
margin-bottom: 3rem;
}
.wt-special-situation-card {
background: rgba(39, 39, 42, 0.5);
padding: 1.5rem;
border-radius: 0.5rem;
border: 1px solid rgba(156, 163, 175, 0.2);
}
.wt-special-situation-header {
display: flex;
align-items: center;
gap: 0.75rem;
margin-bottom: 1rem;
}
.wt-special-situation-icon {
padding: 0.5rem;
border-radius: 0.5rem;
}
.wt-special-situation-icon.pregnancy {
background: rgba(236, 72, 153, 0.2);
}
.wt-special-situation-icon.athletes {
background: rgba(16, 185, 129, 0.2);
}
.wt-special-situation-icon.elderly {
background: rgba(99, 102, 241, 0.2);
}
.wt-special-situation-title {
font-size: 1.125rem;
font-weight: 600;
}
.wt-special-situation-title.pregnancy {
color: #EC4899;
}
.wt-special-situation-title.athletes {
color: #10B981;
}
.wt-special-situation-title.elderly {
color: #6366F1;
}
/* Water quality styles */
.wt-quality-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
margin-bottom: 3rem;
}
.wt-quality-card {
background: rgba(39, 39, 42, 0.5);
padding: 1.5rem;
border-radius: 0.5rem;
border: 1px solid rgba(156, 163, 175, 0.2);
}
.wt-quality-title {
font-size: 1.25rem;
font-weight: bold;
color: #3B82F6;
margin-bottom: 1rem;
}
.wt-quality-list {
margin: 0;
padding: 0;
list-style: none;
}
.wt-quality-item {
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 0.75rem;
}
.wt-quality-item svg {
color: #22C55E;
}
.wt-quality-item .wt-quality-dot {
width: 1.25rem;
height: 1.25rem;
display: flex;
align-items: center;
justify-content: center;
}
.wt-quality-item .wt-quality-dot .wt-dot {
width: 0.5rem;
height: 0.5rem;
border-radius: 50%;
background: #3B82F6;
}
/* Mental performance styles */
.wt-mental-performance-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
margin-bottom: 3rem;
}
.wt-mental-performance-card {
background: rgba(39, 39, 42, 0.5);
padding: 1.5rem;
border-radius: 0.5rem;
border: 1px solid rgba(156, 163, 175, 0.2);
}
.wt-mental-performance-header {
display: flex;
align-items: center;
gap: 0.75rem;
margin-bottom: 1rem;
}
.wt-mental-performance-icon {
padding: 0.5rem;
border-radius: 0.5rem;
}
.wt-mental-performance-icon.concentration {
background: rgba(139, 92, 246, 0.2);
}
.wt-mental-performance-icon.memory {
background: rgba(236, 72, 153, 0.2);
}
.wt-mental-performance-icon.mood {
background: rgba(245, 158, 11, 0.2);
}
.wt-mental-performance-title {
font-size: 1.125rem;
font-weight: 600;
}
.wt-mental-performance-title.concentration {
color: #8B5CF6;
}
.wt-mental-performance-title.memory {
color: #EC4899;
}
.wt-mental-performance-title.mood {
color: #F59E0B;
}
/* Environmental factors styles */
.wt-environmental-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
}
.wt-environmental-card {
background: rgba(39, 39, 42, 0.5);
padding: 1.5rem;
border-radius: 0.5rem;
border: 1px solid rgba(156, 163, 175, 0.2);
}
.wt-environmental-title {
font-size: 1.25rem;
font-weight: bold;
margin-bottom: 1rem;
}
.wt-environmental-title.hot {
color: #FBBF24;
}
.wt-environmental-title.altitude {
color: #3B82F6;
}
.wt-environmental-list {
margin: 0;
padding: 0;
list-style: none;
}
.wt-environmental-item {
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 0.75rem;
}
.wt-environmental-item svg {
color: #FBBF24;
}
.wt-environmental-item.altitude svg {
color: #3B82F6;
}
/* Section titles */
.wt-section-title {
text-align: center;
font-size: 2rem;
font-weight: bold;
margin-bottom: 2rem;
}
/* Responsive adjustments */
@media (max-width: 768px) {
.wt-symptoms-grid {
grid-template-columns: 1fr;
}
.wt-food-grid {
grid-template-columns: repeat(2, 1fr);
}
.wt-special-situations-grid {
grid-template-columns: 1fr;
}
.wt-quality-grid {
grid-template-columns: 1fr;
}
.wt-mental-performance-grid {
grid-template-columns: 1fr;
}
.wt-environmental-grid {
grid-template-columns: 1fr;
}
.wt-mental-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 375px) {
.wt-factors-section {
display: flex;
flex-direction: column;
align-items: center;
}
}