/* Partners Search Component Styles */
.partners-search-container {
    width: 100%;
    max-width: 780px; /* 30% increase from 600px */
    margin: 0 auto;
    padding: 0 21px; /* 30% increase from 16px */
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

.partners-search-wrapper {
    padding: 0;
}

.partners-search-with-bg {
    background: transparent;
}

.partners-search-no-bg {
    background: transparent;
}

.partners-search-form {
    width: 100%;
}

.partners-search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px; /* 30% increase from 8px */
    overflow: hidden;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.05);
    height: 88px; /* 30% increase from ~68px */
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.partners-search-with-bg .partners-search-input-wrapper {
    background: white;
}

.partners-search-no-bg .partners-search-input-wrapper {
    background: white;
}

.partners-search-input-wrapper:focus-within {
    border-color: #e0e0e0;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.05);
}

.partners-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 31px; /* 30% increase from 24px */
    padding-right: 143px; /* 30% increase from 110px to accommodate larger button */
    font-size: 18px; /* Reduced from 22px */
    background: transparent;
    color: #333;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    height: 100%;
    box-shadow: none !important;
    border-bottom: none !important;
}

.partners-search-input::placeholder {
    color: #555;
    font-weight: 400;
}

.partners-search-input:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    border-bottom: none !important;
}

.partners-search-input:focus-visible {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* UPDATED: Only positioning styles for button - color comes from Tailwind classes */
.partners-search-button-position {
    position: absolute;
    right: 10px; /* 30% increase from 8px */
    top: 50%;
    transform: translateY(-50%);
    border-radius: 8px; /* 30% increase from 6px */
    white-space: nowrap;
    height: 47px; /* 30% increase from 36px */
    min-width: 98px; /* 30% increase from 75px */
    letter-spacing: 0.5px;
    font-size: 16px; /* 30% increase from 12px */
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.2s ease;
}

.partners-search-button-position:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Loading Spinner Styles */
.button-spinner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.spinner-icon {
    width: 18px;
    height: 18px;
    animation: spin 1s linear infinite;
}

.spinner-circle {
    stroke-dasharray: 50;
    stroke-dashoffset: 25;
    stroke-linecap: round;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .partners-search-container {
        max-width: 100%;
        padding: 0 1rem;
    }

    .partners-search-input-wrapper {
        height: 78px;
    }

    .partners-search-input {
        padding: 0 26px;
        padding-right: 124px;
        font-size: 17px; /* Reduced from 21px */
    }

    .partners-search-button-position {
        padding: 7px 18px;
        font-size: 14px;
        height: 44px;
        min-width: 85px;
    }

    .spinner-icon {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .partners-search-input-wrapper {
        height: 73px; /* 30% increase from 56px */
    }

    .partners-search-input {
        padding: 0 21px; /* 30% increase from 16px */
        padding-right: 111px; /* 30% increase from 85px */
    }

    .partners-search-button-position {
        padding: 7px 16px; /* 30% increase from 5px 12px */
        font-size: 13px; /* 30% increase from 10px */
        height: 42px; /* 30% increase from 32px */
        min-width: 78px; /* 30% increase from 60px */
        right: 8px; /* 30% increase from 6px */
    }

    .spinner-icon {
        width: 14px;
        height: 14px;
    }
}

