/* Base button styles */
.btn {
    font-family: sans-serif;
    border-radius: 9999px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Button variants */
.btn-primary {
    background-color: #1A1A1A;
    color: white;
    border: none;
}

.btn-secondary {
    background-color: transparent;
    color: #1A1A1A;
    border: 1px solid #1A1A1A;
}

.btn-disabled {
    background-color: #E5E5E5;
    color: white;
    border: none;
    cursor: not-allowed;
}

.btn:hover:not(.btn-disabled) {
    background-color: #333333;
    color: white;
}

/* Button sizes - English */
.btn-small {
    padding: 8px 24px;
    font-size: 14px;
    height: 36px;
}

.btn-medium {
    padding: 12px 32px;
    font-size: 16px;
    height: 44px;
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
    height: 52px;
}

/* Japanese specific adjustments */
.btn.jp {
    font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
}

/* Form styles */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #E5E5E5;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #1A1A1A;
    box-shadow: 0 0 0 2px rgba(26, 26, 26, 0.1);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #4A4A4A;
    font-size: 0.875rem;
}

/* Layout utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    z-index: 50;
    border-bottom: 1px solid #f3f4f6;
    padding: 0.75rem 0;
    height: 4rem; /* Fixed header height */
}

/* Main content container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.header-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    padding: 0;
}

.header-brand {
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    color: #1A1A1A;
}

.header-nav {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* Adjust spacing for pages with forms */
.form-container {
    margin-top: 6rem; /* Additional spacing for form pages */
}

/* Responsive margins */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    main.container {
        margin-top: 5rem; /* Slightly less margin on mobile */
    }
}

@media (min-width: 769px) {
    main.container {
        margin-top: 6rem; /* More margin on larger screens */
    }
}
/* Add these to your existing styles.css */

/* Form card styles */
.form-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 2rem;
}

/* Radio button styles */
input[type="radio"] {
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #E5E5E5;
    border-radius: 50%;
    outline: none;
    transition: all 0.2s;
}

input[type="radio"]:checked {
    border-color: #1A1A1A;
    background-color: #1A1A1A;
    box-shadow: inset 0 0 0 3px white;
}

input[type="radio"]:focus {
    box-shadow: inset 0 0 0 3px white, 0 0 0 2px rgba(26, 26, 26, 0.1);
}

/* Number input styles */
input[type="number"] {
    -moz-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Form group spacing */
.form-group {
    margin-bottom: 1.5rem;
}

/* Error styles */
.form-error {
    color: #DC2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.input-error {
    border-color: #DC2626;
}

.input-error:focus {
    border-color: #DC2626;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.1);
}

/* Success styles */
.input-success {
    border-color: #059669;
}

.input-success:focus {
    border-color: #059669;
    box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.1);
}

/* Form header */
.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1A1A1A;
    letter-spacing: 0.05em;
}

/* Feature button styles */
.aspect-square {
    aspect-ratio: 1 / 1;
    transition: all 0.2s ease-in-out;
}

/* Hover effects */
.hover\:shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 
                0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.duration-200 {
    transition-duration: 200ms;
}

/* Active state */
.aspect-square:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

/* Responsive styles */
@media (max-width: 640px) {
    .grid-cols-2 {
        gap: 1rem;
    }
    
    .aspect-square {
        padding: 1rem;
    }
    
    .aspect-square [data-lucide] {
        width: 2rem;
        height: 2rem;
    }
    
    .aspect-square span {
        font-size: 1rem;
    }
}

/* Feature button container */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 32rem;
    margin: 0 auto;
    padding: 1rem;
}

/* Welcome section */
.welcome-section {
    text-align: center;
    margin-bottom: 3rem;
}

.welcome-section h2 {
    color: #1a1a1a;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.welcome-section p {
    color: #666;
    margin-top: 0.5rem;
}

/* Area icons styling */
.w-10 {
    width: 2.5rem;
}
.h-10 {
    height: 2.5rem;
}
.bg-blue-200 {
    background-color: #BFDBFE;
}
.bg-red-200 {
    background-color: #FECACA;
}
.text-blue-800 {
    color: #1E40AF;
}
.text-red-800 {
    color: #991B1B;
}

/* Animations */
.flex {
    display: flex;
}
.items-start {
    align-items: flex-start;
}
.space-x-4 > * + * {
    margin-left: 1rem;
}
.space-y-4 > * + * {
    margin-top: 1rem;
}

/* Transitions */
.rounded-full {
    border-radius: 9999px;
}
.flex-shrink-0 {
    flex-shrink: 0;
}

@font-face {
    font-family: 'MyBelaFont';
    src: url('/static/font/bellatech_font.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Apply the custom font to the specific element */
.custom-font {
    font-family: 'MyBelaFont', sans-serif;
}

/* If these styles aren't already in your styles.css */
.indicator-container {
    position: relative;
    width: 90%;
    height: 50px;
    margin: 20px;
}

.color-bar {
    width: 100%;
    height: 20px;
    display: flex;
    border-radius: 10px;
    overflow: hidden;
}

.section {
    height: 100%;
    width: 20%;
}

.very-low { background-color: #d9d9d9; }
.low { background-color: #bfbfbf; }
.mid { background-color: #a6a6a6; }
.high { background-color: #8c8c8c; }
.very-high { background-color: #737373; }

/* Water indicator colors */
.water-indicator .very-low { background-color: #EBF5FF; }  /* Lightest blue */
.water-indicator .low { background-color: #ccdee7; }       /* Light blue */
.water-indicator .mid { background-color: #b5e4fa; }       /* Medium blue */
.water-indicator .high { background-color: #95ddfc; }      /* Darker blue */
.water-indicator .very-high { background-color: #6eadcc; } /* Darkest blue */

/* Brightness indicator colors */
.bright-indicator .very-low { background-color: #FEE2E2; }  /* Lightest red */
.bright-indicator .low { background-color: #f1e5e5; }       /* Light red */
.bright-indicator .mid { background-color: #e0c1c1; }       /* Medium red */
.bright-indicator .high { background-color: #e49c9c; }      /* Darker red */
.bright-indicator .very-high { background-color: #d87b7b; } /* Darkest red */

.arrow {
    position: absolute;
    bottom: 10px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 20px solid black;
}

.value-label {
    position: absolute;
    bottom: 50px;
    left: 0;
    font-size: 14px;
    color: black;
    transform: translateX(-50%);
}

.red-text { color: rgb(173, 105, 105); }
.blue-text { color: #5e5eb3; }

  