/* Group Invitation Widget Styles */
.um-groups-invitation-widget {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.um-groups-invitation-header {
    margin-bottom: 20px;
}

.um-groups-invitation-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.um-groups-invitation-description {
    color: #666;
    margin: 0;
    font-size: 14px;
}

.um-groups-invitation-search {
    margin-bottom: 20px;
}

.um-groups-search-input-wrapper {
    display: flex;
    gap: 10px;
}

.um-groups-search-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.um-groups-search-input:focus {
    outline: none;
    border-color: #3ba1da;
    box-shadow: 0 0 0 2px rgba(59,161,218,0.2);
}

.um-groups-search-button {
    padding: 12px 16px;
    background: #3ba1da;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.um-groups-search-button:hover {
    background: #2a8bc8;
}

.um-groups-invitation-results {
    margin-top: 20px;
}

.um-groups-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.um-groups-results-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.um-groups-results-count {
    font-size: 12px;
    color: #666;
    background: #e9ecef;
    padding: 4px 8px;
    border-radius: 12px;
}

.um-groups-results-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.um-groups-user-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.um-groups-user-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.um-groups-user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.um-groups-user-info {
    flex: 1;
    min-width: 0;
}

.um-groups-user-name {
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
    font-size: 16px;
}

.um-groups-user-description {
    color: #666;
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

.um-groups-user-actions {
    flex-shrink: 0;
}

.um-groups-invite-button {
    padding: 8px 16px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.um-groups-invite-button:hover {
    background: #218838;
}

.um-groups-invite-button:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.um-groups-invite-button--invited {
    background: #6c757d;
    cursor: not-allowed;
}

.um-groups-invite-button--invited:hover {
    background: #6c757d;
}

.um-groups-invitation-loading,
.um-groups-invitation-error,
.um-groups-invitation-success {
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.um-groups-loading-spinner {
    color: #3ba1da;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.um-groups-error-message {
    color: #dc3545;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.um-groups-success-message {
    color: #28a745;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.um-groups-no-results {
    text-align: center;
    padding: 30px 20px;
    color: #666;
    font-style: italic;
}

.hwt-invite-buttons-box {
  border-radius: 1.5em;
  padding: 1.2em 1em;
  display: flex;
  gap: 1em;
  justify-content: center;
  align-items: center;
  margin-top: 1em;
  box-shadow: 0 2px 12px rgba(104,74,152,0.08);
}
.hwt-invite-buttons-box .um-button {
  color: #fff;
  background: #3a2067;
  border: 2px solid #684a98;
  border-radius: 2em;
  font-weight: 700;
  font-size: 1em;
  padding: 0.5em 1.5em;
  min-width: 120px;
  text-align: center;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.hwt-invite-buttons-box .um-button:hover,
.hwt-invite-buttons-box .um-button:focus {
  background: #fff;
  color: #684a98;
  border-color: #684a98;
}
@media (max-width: 600px) {
  .hwt-invite-buttons-box {
    flex-direction: column;
    gap: 0.7em;
    padding: 1em 0.5em;
  }
  .hwt-invite-buttons-box .um-button {
    min-width: 100%;
    font-size: 1em;
    padding: 0.7em 0.5em;
  }
}

@media (max-width: 768px) {
    .um-groups-user-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .um-groups-user-actions {
        width: 100%;
    }
    
    .um-groups-invite-button {
        width: 100%;
        padding: 12px;
    }
} 

.um-group-invite-notice {
  width: auto;
  height: auto;
  border: 2px solid #684a98; /* pink border */
  border-radius: 1.5em;
  padding: 1.2em 1em;
  margin: 1.5em auto;
  background: none;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (max-width: 600px) {
  .um-group-invite-notice {
    padding: 1em 0.5em;
    border-radius: 1em;
    max-width: 98vw;
  }
} 