/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    line-height: 1.5;
    background-color: #fdba74; /* bg-orange-300 */
    direction: rtl;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.min-h-screen {
    min-height: 100vh;
}

/* Background colors */
.bg-orange-300 {
    background-color: #fdba74;
}

.bg-white {
    background-color: #ffffff;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.bg-gray-200 {
    background-color: #e5e7eb;
}

.bg-pink-100 {
    background-color: #fce7f3;
}

.bg-pink-50 {
    background-color: #fdf2f8;
}

.bg-pink-800 {
    background-color: #9d174d;
}

.bg-pink-900 {
    background-color: #831843;
}

.bg-red-100 {
    background-color: #fee2e2;
}

.bg-green-100 {
    background-color: #dcfce7;
}

/* Text colors */
.text-pink-800 {
    color: #9d174d;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-600 {
    color: #4b5563;
}

.text-white {
    color: #ffffff;
}

.text-red-800 {
    color: #991b1b;
}

.text-green-800 {
    color: #166534;
}

/* Font sizes */
.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-6xl {
    font-size: 3.75rem;
    line-height: 1;
}

/* Font weights */
.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

/* Text alignment */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-justify {
    text-align: justify;
}

/* Padding */
.p-3 {
    padding: 0.75rem;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* Margin */
.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Width and max-width */
.w-full {
    width: 100%;
}

.w-4 {
    width: 1rem;
}

.w-12 {
    width: 3rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.h-3 {
    height: 0.75rem;
}

.h-4 {
    height: 1rem;
}

.h-12 {
    height: 3rem;
}

/* Border radius */
.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

/* Shadows */
.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Flexbox */
.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.justify-between {
    justify-content: space-between;
}

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

.flex-wrap {
    flex-wrap: wrap;
}

/* Grid */
.grid {
    display: grid;
}

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

.gap-4 {
    gap: 1rem;
}

.gap-10 {
    gap: 2.5rem;
}

.gap-15 {
    gap: 15px;
}

/* Spacing */
.space-y-1 > * + * {
    margin-top: 0.25rem;
}

.space-y-2 > * + * {
    margin-top: 0.5rem;
}

.space-y-3 > * + * {
    margin-top: 0.75rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.space-x-3 > * + * {
    margin-left: 0.75rem;
}

.space-x-reverse > * + * {
    margin-right: 0.75rem;
    margin-left: 0;
}

/* Borders */
.border {
    border-width: 1px;
    border-style: solid;
    border-color: #d1d5db;
}

.border-2 {
    border-width: 2px;
}

.border-gray-300 {
    border-color: #d1d5db;
}

.border-pink-400 {
    border-color: #f472b6;
}

.border-pink-800 {
    border-color: #9d174d;
}

.border-b-2 {
    border-bottom-width: 2px;
}

/* Form elements */
input[type="email"], input[type="text"] {
    appearance: none;
    background-color: transparent;
}

input:focus {
    outline: none;
}

.focus\:border-pink-800:focus {
    border-color: #9d174d;
}

.focus\:outline-none:focus {
    outline: none;
}

.accent-pink-800 {
    accent-color: #9d174d;
}

/* Buttons */
button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
}

.transition-colors {
    transition-property: color, background-color, border-color;
    transition-duration: 150ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-all {
    transition-property: all;
    transition-duration: 300ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.hover\:bg-pink-900:hover {
    background-color: #831843;
}

.hover\:bg-pink-50:hover {
    background-color: #fdf2f8;
}

.hover\:bg-gray-50:hover {
    background-color: #f9fafb;
}

.hover\:border-pink-400:hover {
    border-color: #f472b6;
}

/* Disabled states */
.disabled\:opacity-50:disabled {
    opacity: 0.5;
}

.disabled\:cursor-not-allowed:disabled {
    cursor: not-allowed;
}

/* Animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Custom styles for the app */
.cursor-pointer {
    cursor: pointer;
}

/* Progress bar specific styles */
.duration-300 {
    transition-duration: 300ms;
}

/* Links */
a {
    text-decoration: none;
    display: inline-block;
}

/* Responsive design */
@media (max-width: 640px) {
    .grid-cols-2 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    
    .text-3xl {
        font-size: 1.5rem;
        line-height: 2rem;
    }
    
    .text-xl {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }
    
    .px-8 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .p-8 {
        padding: 1rem;
    }
}

/* RTL specific adjustments */
[dir="rtl"] .mr-4 {
    margin-right: 1rem;
}

[dir="ltr"] {
    direction: ltr;
}

/* Additional utility classes for the specific content */
.linear-gradient-135 {
    background: linear-gradient(135deg, #fa9d47, #c40851);
}

/* Custom checkbox styling for Hebrew */
input[type="checkbox"] {
    margin-right: 0.5rem;
}

/* Fix for Hebrew spacing in buttons and text */
button, .text-content {
    font-feature-settings: "kern" 1;
}

/* Ensure proper text rendering for Hebrew */
body, html {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Profile content styling */
.profile-content h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
    text-align: center;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.profile-content h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #000;
    text-align: right;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.profile-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.profile-content li {
    position: relative;
    padding-right: 1.5rem;
    margin-bottom: 0.75rem;
    text-align: right;
    color: #000;
}

.profile-content li:before {
    content: "•";
    position: absolute;
    right: 0;
    top: 0;
    color: #000;
    font-weight: bold;
}

.profile-content p {
    text-align: right;
    color: #000;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Special styling for "מה אני יכולה להציע לך?" section */
.offer-section {
    font-size: 2rem;
    font-weight: bold;
    color: #000;
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.offer-section h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #000;
    text-align: right;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.offer-section ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.offer-section li {
    position: relative;
    padding-right: 1.5rem;
    margin-bottom: 0.75rem;
    text-align: right;
    color: #000;
}

.offer-section li:before {
    content: "•";
    position: absolute;
    right: 0;
    top: 0;
    color: #000;
    font-weight: bold;
}

.offer-section p {
    text-align: right;
    color: #000;
    margin-bottom: 1rem;
    line-height: 1.6;
}