* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-gradient: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    --light-bg: #f8f9fa;
    --card-bg: #ffffff;
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--primary-gradient);
    min-height: 100vh;
    padding: 20px;
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.title-icon {
    font-size: 3.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.95;
}

/* Main Content */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.calculator-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(10px);
}

/* Input Section */
.input-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.label-icon {
    font-size: 1.2rem;
}

.date-input,
.time-input,
.number-input {
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--light-bg);
    color: var(--text-primary);
    width: 100%;
}

.date-input:focus,
.time-input:focus,
.number-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
}

/* Select Dropdown Styles */
.drink-select,
.unit-select,
.year-select,
.month-select,
.day-select {
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--light-bg);
    color: var(--text-primary);
    cursor: pointer;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667eea' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 45px;
}

.drink-select:focus,
.unit-select:focus,
.year-select:focus,
.month-select:focus,
.day-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background-color: white;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667eea' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

.drink-select:hover,
.unit-select:hover {
    border-color: #667eea;
    background-color: white;
}

/* Input with Suffix (Percentage) */
.input-with-hint {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.input-suffix {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
}

/* Volume Input Group */
.volume-input-group {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.volume-input-group .number-input {
    flex: 1;
    min-width: 0; /* Allow flex item to shrink below content size */
}

.volume-input-group .unit-select {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
    flex-shrink: 0;
    padding-right: 35px; /* Reduce padding for smaller dropdown */
}

/* Quick Percentage Buttons */
.quick-percentage-buttons,
.quick-volume-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.quick-percentage-btn,
.quick-volume-btn {
    padding: 10px 18px;
    background: var(--light-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.quick-percentage-btn:hover,
.quick-volume-btn:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.quick-percentage-btn:active,
.quick-volume-btn:active {
    transform: translateY(0);
}

/* Checkbox Styles */
input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #667eea;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

input[type="checkbox"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

input[type="checkbox"]:checked {
    background-color: #667eea;
    border-color: #667eea;
}

/* Radio Button Styles */
input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #667eea;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

input[type="radio"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

input[type="radio"]:checked {
    border-color: #667eea;
}

/* Quick Select Section */
.quick-select-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quick-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.quick-btn {
    padding: 10px 18px;
    background: var(--light-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.quick-btn:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.quick-btn:active {
    transform: translateY(0);
}

.date-selectors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.selector-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.selector-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.year-select,
.month-select,
.day-select {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--light-bg);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.year-select:focus,
.month-select:focus,
.day-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
}

.date-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-hint {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    font-style: italic;
}

/* Recent Queries Section */
.recent-queries-section {
    margin-bottom: 25px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.recent-queries-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.recent-query-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.recent-query-item:hover {
    border-color: #667eea;
    box-shadow: var(--shadow-sm);
    transform: translateX(3px);
}

.recent-query-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.recent-query-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.recent-query-time {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.recent-query-content {
    flex: 1;
}

.recent-query-date {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.recent-query-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.recent-query-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--primary-gradient);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.recent-query-btn:hover {
    transform: rotate(90deg) scale(1.1);
    box-shadow: var(--shadow-sm);
}

.recent-query-btn:active {
    transform: rotate(90deg) scale(0.95);
}

.recent-query-delete-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: #f5576c;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 300;
    transition: all 0.3s ease;
    flex-shrink: 0;
    line-height: 1;
}

.recent-query-delete-btn:hover {
    background: #e63946;
    transform: scale(1.1);
    box-shadow: var(--shadow-sm);
}

.recent-query-delete-btn:active {
    transform: scale(0.95);
}

.calculate-btn {
    padding: 18px 30px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
    margin-top: 10px;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.calculate-btn:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 1.3rem;
}

/* Results Section */
.results-section {
    margin-top: 40px;
    animation: fadeIn 0.5s ease;
}

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

.hidden {
    display: none;
}

.results-header {
    text-align: center;
    margin-bottom: 30px;
}

.results-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.result-card {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #667eea;
}

.result-card.primary {
    background: var(--primary-gradient);
    color: white;
    grid-column: span 2;
}

.result-card.primary .result-value,
.result-card.primary .result-label {
    color: white;
}

.result-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.result-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
    line-height: 1.2;
}

.result-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Health Recommendation Section */
.health-recommendation-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.recommendation-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.recommendation-card {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.recommendation-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: #667eea;
}

.recommendation-icon {
    font-size: 2rem;
    flex-shrink: 0;
    line-height: 1;
}

.recommendation-content {
    flex: 1;
    min-width: 0;
}

.recommendation-level {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.recommendation-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Weekly Tracking Section */
.weekly-tracking-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.tracking-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tracking-card {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.tracking-card:hover {
    box-shadow: var(--shadow-md);
    border-color: #667eea;
}

.tracking-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.tracking-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.tracking-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.tracking-progress {
    margin-bottom: 15px;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 6px;
    transition: width 0.5s ease;
    min-width: 2px;
}

.progress-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
}

.add-to-weekly-btn,
.reset-weekly-btn {
    width: 100%;
    padding: 12px 20px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    margin-top: 10px;
}

.add-to-weekly-btn:hover,
.reset-weekly-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.add-to-weekly-btn:active,
.reset-weekly-btn:active {
    transform: translateY(0);
}

.reset-weekly-btn {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
}

.btn-icon {
    font-size: 1.1rem;
}

/* Calculation Details Section */
.calculation-details {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.detail-card {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: #667eea;
}

.detail-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    line-height: 1;
}

.detail-content {
    flex: 1;
    min-width: 0;
}

.detail-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
    background: rgba(102, 126, 234, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    word-break: break-all;
}

/* Additional Info */
.additional-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-card {
    background: var(--secondary-gradient);
    color: white;
    border-radius: 16px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-md);
}

.info-icon {
    font-size: 2.5rem;
}

.info-content {
    flex: 1;
}

.info-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.info-value {
    font-size: 1.3rem;
    font-weight: 600;
}

/* Features Section */
.features-section {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
}

.features-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.feature-item {
    text-align: center;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.feature-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Content Section */
.content-section {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    margin-top: 30px;
}

.content-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-align: center;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

.content-text p {
    margin-bottom: 15px;
}

.content-list {
    margin: 20px 0;
    padding-left: 30px;
    color: var(--text-secondary);
}

.content-list li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    margin-top: 30px;
}

.faq-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 30px;
    text-align: center;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 25px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #667eea;
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.faq-answer {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Astrology Section */
.astrology-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.astrology-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 25px;
    text-align: center;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.astrology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.astrology-card {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.astrology-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #667eea;
}

.astrology-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.astrology-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.astrology-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.astrology-emoji {
    font-size: 2rem;
    margin-top: 5px;
}

.astrology-dates {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

.astrology-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: 10px;
    font-style: italic;
}

/* Calendar Reminder Section */
.calendar-reminder-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
    text-align: center;
}

.calendar-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.calendar-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.calendar-btn:active {
    transform: translateY(0);
}

.calendar-icon {
    font-size: 1.5rem;
}

.calendar-text {
    font-family: inherit;
}

/* Bookmark Banner */
.bookmark-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 16px 20px;
    margin: 20px auto 30px;
    max-width: 1200px;
    box-shadow: var(--shadow-lg);
    animation: slideDown 0.5s ease;
}

.bookmark-banner-content {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.bookmark-banner-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.bookmark-banner-text {
    flex: 1;
    font-size: 1rem;
    line-height: 1.5;
}

.bookmark-banner-text strong {
    font-weight: 600;
}

.bookmark-banner-link {
    color: white;
    text-decoration: underline;
    font-weight: 500;
    margin-left: 8px;
    transition: opacity 0.3s ease;
}

.bookmark-banner-link:hover {
    opacity: 0.8;
}

.bookmark-banner-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
}

.bookmark-banner-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.bookmark-banner-close:active {
    transform: scale(0.95);
}

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

/* Footer */
.footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: white;
    opacity: 0.9;
}

.footer-links {
    margin-top: 15px;
    font-size: 0.9rem;
}

.footer-link {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .title {
        font-size: 2rem;
    }

    .title-icon {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .calculator-card {
        padding: 25px;
    }

    .quick-buttons {
        justify-content: center;
    }

    .quick-btn {
        flex: 1 1 calc(50% - 5px);
        min-width: 120px;
    }

    .date-selectors {
        grid-template-columns: 1fr;
    }
    
    /* Form Elements Mobile Styles */
    .volume-input-group {
        flex-direction: column;
    }
    
    .volume-input-group .unit-select {
        width: 100%;
        min-width: auto;
    }
    
    .input-with-hint {
        flex-direction: column;
        align-items: stretch;
    }
    
    .input-suffix {
        text-align: left;
        padding-left: 5px;
    }
    
    .quick-percentage-buttons,
    .quick-volume-buttons {
        gap: 8px;
    }
    
    .quick-percentage-btn,
    .quick-volume-btn {
        flex: 1;
        min-width: calc(50% - 4px);
        font-size: 0.85rem;
        padding: 10px 12px;
    }
    
    .drink-select,
    .unit-select,
    .number-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .recent-queries-section {
        padding: 15px;
    }

    .recent-query-item {
        padding: 10px 12px;
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .result-card.primary {
        grid-column: span 2;
    }

    .result-value {
        font-size: 2rem;
    }
    
    /* Health Recommendation, Weekly Tracking, Calculation Details Mobile */
    .recommendation-title,
    .tracking-title {
        font-size: 1.1rem;
    }
    
    .recommendation-card,
    .tracking-card,
    .detail-card {
        padding: 15px;
    }
    
    .recommendation-icon,
    .detail-icon {
        font-size: 1.5rem;
    }
    
    .tracking-value {
        font-size: 1.5rem;
    }
    
    .detail-value {
        font-size: 0.9rem;
        padding: 6px 10px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-section,
    .faq-section {
        padding: 25px;
    }

    .content-title,
    .faq-title,
    .astrology-title {
        font-size: 1.5rem;
    }

    .astrology-grid {
        grid-template-columns: 1fr;
    }
    
    .calendar-btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .bookmark-banner {
        padding: 12px 16px;
        margin: 15px auto 20px;
    }
    
    .bookmark-banner-content {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .bookmark-banner-icon {
        font-size: 1.5rem;
    }
    
    .bookmark-banner-text {
        font-size: 0.9rem;
        flex-basis: calc(100% - 50px);
    }
    
    .bookmark-banner-close {
        width: 28px;
        height: 28px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 10px;
    }

    .calculator-card {
        padding: 20px;
    }

    .quick-btn {
        flex: 1 1 100%;
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .result-card.primary {
        grid-column: span 1;
    }

    .additional-info {
        grid-template-columns: 1fr;
    }

    .content-section,
    .faq-section {
        padding: 20px;
    }

    .content-title,
    .faq-title,
    .astrology-title {
        font-size: 1.3rem;
    }

    .faq-question {
        font-size: 1.1rem;
    }

    .astrology-value {
        font-size: 1.3rem;
    }
}

/* Floating Navigation */
.floating-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--card-bg);
    border-radius: 16px;
    padding: 20px 15px;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    min-width: 140px;
    max-width: 160px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.floating-nav-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.nav-icon {
    font-size: 1.2rem;
}

.nav-title {
    font-size: 0.9rem;
}

.floating-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.floating-nav-list li {
    margin: 0;
    padding: 0;
}

.nav-link {
    display: block;
    padding: 10px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.nav-link:hover {
    background: var(--light-bg);
    color: var(--text-primary);
    transform: translateX(-3px);
}

.nav-link.active {
    background: var(--primary-gradient);
    color: white;
    font-weight: 500;
    box-shadow: var(--shadow-md);
}

.nav-link.active::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: var(--primary-gradient);
    border-radius: 0 2px 2px 0;
}

/* Hide floating nav on mobile and tablet */
@media (max-width: 1024px) {
    .floating-nav {
        display: none !important;
    }
}

/* Feedback Section */
.feedback-section {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    margin-top: 30px;
}

.feedback-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    text-align: center;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feedback-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1rem;
}

.feedback-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--light-bg);
    resize: vertical;
}

.form-textarea {
    min-height: 120px;
    line-height: 1.6;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
}

.feedback-submit-btn {
    width: 100%;
    padding: 18px 30px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
    margin-top: 10px;
}

.feedback-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.feedback-submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.feedback-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.feedback-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.feedback-message-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.feedback-message-error {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    color: white;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for feedback section */
@media (max-width: 768px) {
    .feedback-section {
        padding: 25px;
    }

    .feedback-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .feedback-section {
        padding: 20px;
    }

    .feedback-title {
        font-size: 1.3rem;
    }
}

