/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    min-height: 100vh;
}

/* Utilities */
.hidden {
    display: none !important;
}

.show-mobile {
    display: none;
}

.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.max-w-md {
    max-width: 28rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-5xl {
    max-width: 64rem;
}

.min-h-screen {
    min-height: 100vh;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-9 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.mt-0 {
    margin-top: 0rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 0.75rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-5 {
    margin-top: 1.25rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-7 {
    margin-top: 1.75rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-9 {
    margin-top: 2.25rem;
}

.mt-10 {
    margin-top: 2.5rem;
}

.mt-11 {
    margin-top: 2.75rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-5 {
    margin-bottom: 1.25rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-7 {
    margin-bottom: 1.75rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.space-y-2 > * + * {
    margin-top: 0.5rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

/* Colors */
.bg-white {
    background-color: white;
}

.text-black {
    color: black;
}

.text-gray-600 {
    color: #6b7280;
}

.text-gray-700 {
    color: #374151;
}

.text-green-600 {
    color: #059669;
}

.text-red-600 {
    color: #dc2626;
}

.text-blue-600 {
    color: #2563eb;
}

.border-green-200 {
    border-color: #bbf7d0;
}

.border-blue-200 {
    border-color: #bfdbfe;
}

/* Layout */
.w-full {
    width: 100%;
}

.grid {
    display: grid;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.flex {
    display: flex;
}
.flex-grow {
    flex-grow: 1;
}
.flex-col {
    flex-direction: column;
}
.flex-row {
    flex-direction: row;
}


.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

/* Cards and Containers */
.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-md {
    border-radius: 0.375rem;
}

.border {
    border-width: 1px;
    border-style: solid;
    border-color: #d1d5db;
}

.border-b {
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #d1d5db;
}

/* Typography */
.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-md {
    font-size: 1.2rem;
}

.text-lg {
    font-size: 1.3rem;
}

.text-xl {
    font-size: 1.4rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.8rem;
    line-height: 2rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

/* Forms */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    line-height: 1.25rem;
    transition: all 0.2s;
    background-color: white;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
    outline: none;
    ring: 2px;
    ring-color: #059669;
    border-color: #059669;
}

.block {
    display: block;
}


.bg-gradient-to-r {
    background: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-green-500 {
    --tw-gradient-from: #10b981;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(16, 185, 129, 0));
}

.to-green-600 {
    --tw-gradient-to: #059669;
}

.hover\:from-green-600:hover {
    --tw-gradient-from: #059669;
}

.hover\:to-green-700:hover {
    --tw-gradient-to: #047857;
}

.bg-blue-600 {
    background-color: #2563eb;
}

.hover\:bg-blue-700:hover {
    background-color: #1d4ed8;
}

.text-white {
    color: white;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Tabs */
.tab-button {
    background-color: transparent;
    color: #6b7280;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-button.active {
    background-color: white;
    color: #059669;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.tab-content {
    animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Error Messages */
.error-message {
    font-size: 0.75rem;
    line-height: 1rem;
}

/* Loading States */
.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.fa-spin {
    animation: spin 1s linear infinite;
}

/* Toast Notifications */
.toast {
    background-color: white;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    max-width: 20rem;
    animation: slideIn 0.3s ease-out;
}

.toast.success {
    border-left: 4px solid #059669;
}

.toast.error {
    border-left: 4px solid #dc2626;
}

.toast-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.toast-description {
    font-size: 0.875rem;
    color: #6b7280;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Dashboard Styles */
.header {
    padding: 1rem;
}

.sidebar {
    width: 18rem;
    background-color: white;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
}

.profile-avatar {
    width: 6rem;
    height: 6rem;
    background-color: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #059669;
}

.tab-navigation {
    background-color: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    margin-bottom: 1rem;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.tab-navigation .grid {
    gap: 1px;
    text-align: center;
}

.tab-navigation button {
    padding: 0.5rem 0.25rem;
    font-size: 0.75rem;
    border-radius: 0;
    border: 0;
    background-color: transparent;
    color: black;
    transition: all 0.2s;
}

.tab-navigation button.active {
    color: white;
    background-color: #059669;
}

.content-area {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

.card-content {
    padding: 1.5rem;
}

/* Form Steps */
.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.step {
    display: flex;
    align-items: center;
    margin: 0 1rem;
}

.step-number {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 0.5rem;
    background-color: #f3f4f6;
    color: #6b7280;
}

.step.active .step-number {
    background-color: #059669;
    color: white;
}

.step.completed .step-number {
    background-color: #10b981;
    color: white;
}

.step-title {
    font-weight: 500;
    color: #374151;
}

.step.active .step-title {
    color: #059669;
}

/* Modal Styles */
/*
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.modal-content {
    position: relative;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    max-width: 42rem;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
    flex: 1;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #6b7280;
    border-radius: 0.25rem;
    transition: all 0.2s;
}

.modal-close:hover {
    background-color: #f3f4f6;
    color: #374151;
}

.modal-body {
    padding: 1.5rem;
    max-height: 50vh;
    overflow-y: auto;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
}
*/

/* Additional Utility Classes for Partner Registration */
.max-w-6xl {
    max-width: 72rem;
}

.text-red-600 {
    color: #dc2626;
}

.text-green-600 {
    color: #059669;
}

.text-green-700 {
    color: #047857;
}

.bg-green-100 {
    background-color: #dcfce7;
}

.bg-green-600 {
    background-color: #059669;
}

.bg-green-700 {
    background-color: #047857;
}

.hover\:bg-green-700:hover {
    background-color: #047857;
}

.bg-red-500 {
    background-color: #ef4444;
}

.bg-blue-500 {
    background-color: #3b82f6;
}

.border-red-500 {
    border-color: #ef4444;
}

.border-gray-300 {
    border-color: #d1d5db;
}

.focus\:ring-2:focus {
    box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.5);
}

.focus\:ring-blue-500:focus {
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

.focus\:ring-green-500:focus {
    box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.5);
}

.focus\:outline-none:focus {
    outline: none;
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-5 {
    gap: 1.25rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-7 {
    gap: 1.75rem;
}

.gap-8 {
    gap: 2rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.space-y-8 > * + * {
    margin-top: 2rem;
}

.flex {
    display: flex;
}

.items-start {
    align-items: flex-start;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.rounded-full {
    border-radius: 9999px;
}

.p-0 {
    padding: 0px !important;
}
.pl-0 {
    padding-left: 0px !important;
}
.pt-0 {
    padding-top: 0px !important;
}

.pt-1 {
    padding-top: 0.25rem;
}

.pt-2 {
    padding-top: 0.5rem;
}

.pt-3 {
    padding-top: 0.75rem;
}

.pt-4 {
    padding-top: 1rem;
}

.pt-5 {
    padding-top: 1.25rem;
}

.pt-6 {
    padding-top: 1.5rem;
}

.pt-7 {
    padding-top: 1.75rem;
}

.pt-8 {
    padding-top: 2rem;
}

.pr-0 {
    padding-right: 0px !important;
}
.pb-0 {
    padding-bottom: 0px !important;
}
.p-2 {
    padding: 0.5rem;
}

.mr-0 {
    margin-right: 0.5rem;
}

.mr-1 {
    margin-right: 0.25rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mr-3 {
    margin-right: 0.75rem;
}

.mr-4 {
    margin-right: 1rem;
}

.mr-5 {
    margin-right: 1.25rem;
}

.mr-6 {
    margin-right: 1.5rem;
}

.mr-7 {
    margin-right: 1.75rem;
}

.mr-8 {
    margin-right: 2rem;
}


.ml-4 {
    margin-left: 1rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.w-full {
    width: 100%;
}

.w-16 {
    width: 4rem;
}

.h-16 {
    height: 4rem;
}

.max-w-sm {
    max-width: 24rem;
}

.transition-all {
    transition: all 0.2s;
}

.hover\:underline:hover {
    text-decoration: underline;
}

.hover\:text-gray-200:hover {
    color: #e5e7eb;
}

.disabled\:opacity-50:disabled {
    opacity: 0.5;
}

.disabled\:cursor-not-allowed:disabled {
    cursor: not-allowed;
}

/* Fixed positioning for toast container */
.fixed {
    position: fixed;
}

.top-4 {
    top: 1rem;
}

.right-4 {
    right: 1rem;
}

.z-50 {
    z-index: 50;
}

input[type="tel"] {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    transition: all 0.2s;
    background-color: white;
}

input[type="tel"]:focus {
    outline: none;
    ring: 2px;
    ring-color: #059669;
    border-color: #059669;
}

.font-green {
    color: var(--green);
}

.font-dark-green {
    color: var(--dark-green)
}

.btn {
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    position: relative;
    gap: 8px;
}

.btn-primary {
    background: var(--green);
    color: white !important;
}

.btn-primary:hover {
    background: var(--green-hover);
}

.btn-secondary {
    background: white;
    color: #666;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background: #eeeeee;
}

.btn-danger {
    color: white;
    background-color: var(--red);
}
.btn-danger:hover {
    background-color: var(--red-hover);
}

.info-box {
    border: 1px solid #C5E7CC;
    padding: 13px;
}
.info-box.success {
    background-color: #F0FDF4;
    color: var(--dark-green);
}
.info-box.warning {
    background-color: #FEFCE8;
    color: #A16207;
    border: 1px solid #FEF08A;
}
.info-box .info-box-title {
    display: flex;
    align-items: center;
    gap: 8px;
}
.info-box .info-box-title h2,
.info-box .info-box-content,
.info-box .info-box-content *  {
    font-size: 16px;
}
.info-box .info-box-content {
    margin-left: 32px;
    margin-top: 5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .grid-cols-2 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .grid-cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .show-mobile {
        display: block;
    }
    .hide-mobile {
        display: none;
    }
}
@media (max-width: 768px) {
    
    .max-w-md {
        max-width: 100%;
    }
    
    .sidebar {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .md\:flex-row {
        flex-direction: row;
    }
    
    .space-y-4 > * + * {
        margin-top: 1rem;
    }
    
    .md\:space-y-0 > * + * {
        margin-top: 0;
    }
    
    .md\:space-x-4 > * + * {
        margin-left: 1rem;
    }
    
    .tab-navigation .grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .tab-navigation button {
        font-size: 0.6rem;
        padding: 0.5rem 0.125rem;
    }
    
    .step-indicator {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .step {
        margin: 0 0.25rem;
    }
    .grid-cols-3 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

@media (min-width: 769px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .md\:flex-row {
        flex-direction: row;
    }
    
    .md\:space-y-0 > * + * {
        margin-top: 0;
    }
    
    .md\:space-x-4 > * + * {
        margin-left: 1rem;
    }
    
    .md\:w-72 {
        width: 18rem;
    }
}