/* Assistio Setup Page Styles - Tailwind CSS Replacement */

/* Container and Layout */
.max-w-4xl {
    max-width: 56rem;
}

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

.p-8 {
    padding: 2rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-4 {
    padding: 1rem;
}

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

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

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

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

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

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

.text-start {
    text-align: left;
}

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

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

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

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

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

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

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

/* Colors */
.text-white {
    color: #ffffff;
}

.text-gray-900 {
    color: #111827;
}

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

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

.text-gray-400 {
    color: #9ca3af;
}

.text-blue-800 {
    color: #1e40af;
}

.text-blue-700 {
    color: #1d4ed8;
}

.text-blue-600 {
    color: #2563eb;
}

.text-blue-500 {
    color: #3b82f6;
}

.text-green-600 {
    color: #16a34a;
}

.text-red-700 {
    color: #b91c1c;
}

/* Background Colors */
.bg-white {
    background-color: #ffffff;
}

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

.bg-gray-100 {
    background-color: #f3f4f6;
}

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

.bg-blue-500 {
    background-color: #3b82f6;
}

.bg-blue-100 {
    background-color: #dbeafe;
}

.bg-blue-50 {
    background-color: #eff6ff;
}

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

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

/* Gradients */
.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-blue-500 {
    --tw-gradient-from: #3b82f6;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(59, 130, 246, 0));
}

.to-purple-600 {
    --tw-gradient-to: #9333ea;
}

.from-blue-600 {
    --tw-gradient-from: #2563eb;
}

.to-purple-700 {
    --tw-gradient-to: #7c3aed;
}

.from-gray-50 {
    --tw-gradient-from: #f9fafb;
}

.to-blue-50 {
    --tw-gradient-to: #eff6ff;
}

.from-green-500 {
    --tw-gradient-from: #22c55e;
}

.to-blue-500 {
    --tw-gradient-to: #3b82f6;
}

/* Spacing and Margins */
.mb-8 {
    margin-bottom: 2rem;
}

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

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

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

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

.mt-6 {
    margin-top: 1.5rem;
}

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

.mt-0\.5 {
    margin-top: 0.125rem;
}

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

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

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

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

.space-x-4 > * + * {
    margin-left: 1rem;
}

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

.space-x-2 > * + * {
    margin-left: 0.5rem;
}

.space-x-1 > * + * {
    margin-left: 0.25rem;
}

/* RTL Support */
.rtl\:space-x-reverse:where([dir="rtl"], [dir="rtl"] *) > * + * {
    margin-left: 0;
    margin-right: 1rem;
}

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

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

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

.gap-6 {
    gap: 1.5rem;
}

.gap-4 {
    gap: 1rem;
}

/* Sizing */
.w-16 {
    width: 4rem;
}

.w-20 {
    width: 5rem;
}

.w-12 {
    width: 3rem;
}

.w-10 {
    width: 2.5rem;
}

.w-8 {
    width: 2rem;
}

.w-6 {
    width: 1.5rem;
}

.w-5 {
    width: 1.25rem;
}

.w-1 {
    width: 0.25rem;
}

.w-full {
    width: 100%;
}

.h-16 {
    height: 4rem;
}

.h-20 {
    height: 5rem;
}

.h-12 {
    height: 3rem;
}

.h-10 {
    height: 2.5rem;
}

.h-8 {
    height: 2rem;
}

.h-6 {
    height: 1.5rem;
}

.h-5 {
    height: 1.25rem;
}

.h-1 {
    height: 0.25rem;
}

/* Max Width */
.max-w-2xl {
    max-width: 42rem;
}

.max-w-md {
    max-width: 28rem;
}

/* Borders and Rounded */
.rounded-2xl {
    border-radius: 1rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

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

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

.border {
    border-width: 1px;
}

.border-gray-100 {
    border-color: #f3f4f6;
}

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

.border-red-400 {
    border-color: #f87171;
}

/* 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);
}

/* Position */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.right-3 {
    right: 0.75rem;
}

.top-1\/2 {
    top: 50%;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* Transform */
.transform {
    transform: var(--tw-transform);
}

.-translate-y-1\/2 {
    --tw-translate-y: -50%;
    transform: translateY(-50%);
}

/* Display */
.hidden {
    display: none;
}

.block {
    display: block;
}

/* Flex Utilities */
.flex-shrink-0 {
    flex-shrink: 0;
}

/* Transitions */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.duration-200 {
    transition-duration: 200ms;
}

/* Hover States */
.hover\:from-blue-600:hover {
    --tw-gradient-from: #2563eb;
}

.hover\:to-purple-700:hover {
    --tw-gradient-to: #7c3aed;
}

.hover\:text-blue-700:hover {
    color: #1d4ed8;
}

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

.hover\:bg-gray-100:hover {
    background-color: #f3f4f6;
}

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

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

/* Focus States */
.focus\:ring-2:focus {
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

.focus\:ring-blue-500:focus {
    --tw-ring-color: #3b82f6;
}

.focus\:border-transparent:focus {
    border-color: transparent;
}

/* Opacity */
.opacity-90 {
    opacity: 0.9;
}

/* Responsive Design */
@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .sm\:inline {
        display: inline;
    }
}

/* Custom Assistio Styles */
.assistio-setup-container {
    max-width: 56rem;
    margin: 0 auto;
    padding: 2rem;
}

.assistio-setup-header {
    text-align: center;
    margin-bottom: 2rem;
}

.assistio-setup-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(to right, #3b82f6, #9333ea);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.assistio-setup-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.assistio-setup-subtitle {
    color: #4b5563;
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.assistio-progress-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.assistio-progress-steps {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.assistio-step {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.assistio-step.active {
    background-color: #3b82f6;
    color: #ffffff;
}

.assistio-step.inactive {
    background-color: #e5e7eb;
    color: #9ca3af;
}

.assistio-progress-bar {
    width: 3rem;
    height: 0.25rem;
    background-color: #e5e7eb;
}

.assistio-step-content {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    padding: 2rem;
    margin-bottom: 2rem;
}

.assistio-step-icon {
    width: 4rem;
    height: 4rem;
    color: #3b82f6;
    margin: 0 auto 1rem;
}

.assistio-step-title {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.assistio-step-description {
    color: #4b5563;
    margin-bottom: 1.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.assistio-info-box {
    background-color: #eff6ff;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.assistio-info-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.assistio-info-icon {
    width: 1.5rem;
    height: 1.5rem;
    background-color: #dbeafe;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.assistio-info-icon span {
    color: #2563eb;
    font-size: 0.875rem;
    font-weight: 700;
}

.assistio-info-title {
    color: #1e40af;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.assistio-info-text {
    color: #1d4ed8;
    font-size: 0.875rem;
}

.assistio-primary-button {
    background: linear-gradient(to right, #3b82f6, #9333ea);
    color: #ffffff;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
    transition: all 200ms;
}

.assistio-primary-button:hover {
    background: linear-gradient(to right, #2563eb, #7c3aed);
}

.assistio-primary-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.assistio-form-container {
    max-width: 28rem;
    margin: 0 auto;
}

.assistio-error-box {
    background-color: #fee2e2;
    border: 1px solid #f87171;
    color: #b91c1c;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    position: relative;
    margin-bottom: 1rem;
}

.assistio-form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.assistio-form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
}

.assistio-form-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
    border-color: transparent;
}

.assistio-input-container {
    position: relative;
}

.assistio-copy-button {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    background: none;
    border: none;
    cursor: pointer;
}

.assistio-copy-button:hover {
    color: #4b5563;
}

.assistio-secondary-button {
    color: #2563eb;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0 auto;
    background: none;
    border: none;
    cursor: pointer;
}

.assistio-secondary-button:hover {
    color: #1d4ed8;
}

.assistio-success-icon {
    width: 5rem;
    height: 5rem;
    background-color: #dcfce7;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.assistio-benefits-section {
    background: linear-gradient(to bottom right, #f9fafb, #eff6ff);
    border-radius: 1rem;
    padding: 2rem;
}

.assistio-benefits-title {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    color: #111827;
    text-align: center;
    margin-bottom: 0.5rem;
}

.assistio-benefits-subtitle {
    color: #4b5563;
    text-align: center;
    margin-bottom: 2rem;
}

.assistio-final-cta {
    background: linear-gradient(to right, #22c55e, #3b82f6);
    border-radius: 0.75rem;
    padding: 1.5rem;
    color: #ffffff;
    text-align: center;
}

.assistio-final-cta h3 {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.assistio-final-cta p {
    margin-bottom: 1rem;
}

.assistio-final-cta a {
    background-color: #ffffff;
    color: #2563eb;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background-color 200ms;
}

.assistio-final-cta a:hover {
    background-color: #f3f4f6;
}

.assistio-benefit-item {
    text-align: center;
}

.assistio-benefit-icon {
    width: 2rem;
    height: 2rem;
    margin: 0 auto 0.5rem;
}

.assistio-benefit-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.assistio-benefit-text {
    font-size: 0.875rem;
    opacity: 0.9;
}
