/* Provider Select Wrapper */
.hrs-provider-select-wrapper {
    position: relative;
    flex: 1;
}

.hrs-food-pickup-provider-container {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

/* Provider Select Display */
.hrs-provider-select-display {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
}

.hrs-provider-select-display:hover {
    border-color: #0270AD;
}

.hrs-provider-placeholder {
    color: #9ca3af;
    font-size: 15px;
}

.hrs-selected-provider {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hrs-selected-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 6px;
}

.hrs-selected-icon {
    width: 28px;
    height: 28px;
    background: #f1f5f9;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 14px;
}

.hrs-selected-provider span {
    font-size: 15px;
    font-weight: 600;
    color: #1a202c;
}

/* Provider Dropdown */
.hrs-provider-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    max-height: 350px;
    overflow: hidden;
    z-index: 100;
}

.hrs-provider-search-box {
    padding: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.hrs-provider-search-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
}

.hrs-provider-search-input:focus {
    outline: none;
    border-color: #0270AD;
}

.hrs-provider-list {
    max-height: 250px;
    overflow-y: auto;
    padding: 8px;
}

.hrs-provider-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.hrs-provider-item:hover {
    background: #f8fafc;
}

.hrs-provider-logo-wrapper {
    flex-shrink: 0;
}

.hrs-provider-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 6px;
}

.hrs-provider-icon-placeholder {
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 18px;
}

.hrs-provider-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a202c;
    flex: 1;
}

.hrs-no-providers {
    padding: 20px;
    text-align: center;
    font-size: 14px;
    color: #64748b;
}

/* No Results */
.hrs-provider-no-results {
    padding: 20px;
    text-align: center;
    display: none;
}

.hrs-provider-no-results p {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 12px 0;
}

.hrs-add-provider-inline-btn {
    background: linear-gradient(135deg, #0270AD, #025a8a);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hrs-add-provider-inline-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 112, 173, 0.3);
}

/* Add Provider Button */
.hrs-add-provider-btn {
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    font-size: 18px;
    transition: all 0.2s;
}

.hrs-add-provider-btn:hover {
    background: #0270AD;
    color: white;
    border-color: #0270AD;
}

/* Modal */
.hrs-add-provider-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.hrs-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.hrs-modal-container {
    background: white;
    border-radius: 16px;
    max-width: 400px;
    width: 90%;
    position: relative;
    z-index: 1;
}

.hrs-modal-header {
    padding: 16px;
    text-align: right;
}

.hrs-modal-close {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    color: #64748b;
    font-size: 16px;
}

.hrs-modal-body {
    padding: 0 24px 24px;
}

.hrs-modal-icon {
    text-align: center;
    margin-bottom: 16px;
}

.hrs-provider-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #0270AD, #025a8a);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
}

.hrs-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a202c;
    text-align: center;
    margin: 0 0 8px 0;
}

.hrs-modal-subtitle {
    font-size: 14px;
    color: #64748b;
    text-align: center;
    margin: 0 0 24px 0;
}

.hrs-form-group {
    margin-bottom: 20px;
}

.hrs-form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.hrs-form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
}

.hrs-form-input:focus {
    outline: none;
    border-color: #0270AD;
}

.hrs-add-provider-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #0270AD, #025a8a);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}
