/* MCP Planning Tool - WordPress Compatible CSS */
/* Plain CSS - NO @layer, NO Tailwind utilities */

/* ============================================
   CONTAINER BASE STYLES
   ============================================ */
.mcp-planning-tool-container {
  all: initial;
  display: block;
  box-sizing: border-box;
  position: relative;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.5;
  background-color: #002e3d;
  color: #0a0a0a;
  min-height: 20px;
  width: 100%;
  border-radius:14px;
}

.mcp-planning-tool-container *,
.mcp-planning-tool-container *::before,
.mcp-planning-tool-container *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
}

/* ============================================
   LANDING VIEW
   ============================================ */
.mcp-landing-view {
  min-height: 40vh;
  background-color: #002e3d;
  display: flex;
  justify-content: center;
  padding: 2rem;
  padding-top: 4rem;
  border-radius: 14px;
}

.mcp-landing-content {
  width: 100%;
  max-width: 704px;
  background-color: #002e3d;
  border-radius: 12px;
  padding: 2rem;
}

.mcp-landing-title {
  font-family: 'Inter', sans-serif;
  font-weight: bold;
  font-size: 28px;
  color: #ffffff;
  text-align: center;
  margin-bottom: 1.5rem;
}

.mcp-landing-description {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #f7f7f7 !important;
  text-align: center;
  margin-bottom: 2rem;
}

.mcp-search-container {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mcp-dropdown-wrapper {
  flex: 1;
  position: relative;
}

.mcp-dropdown-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 1.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  color: #002e3d;
  transition: background-color 150ms;
}

.mcp-dropdown-button:hover {
  background-color: #f9fafb;
}

.mcp-dropdown-icon {
  width: 20px;
  height: 20px;
  color: #37474f;
  transition: transform 150ms;
}

.mcp-dropdown-icon.rotated {
  transform: rotate(180deg);
}

.mcp-dropdown-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
}

.mcp-dropdown-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 0.25rem;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  z-index: 20;
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid #e5e7eb;
}

.mcp-dropdown-item {
  display: block;
  width: 100%;
  padding: 0.75rem 1.5rem;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #002e3d;
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color 150ms;
}

.mcp-dropdown-item:hover {
  background-color: #f9fafb;
}

.mcp-dropdown-item.selected {
  background-color: #f3f4f6;
  color: #c63943;
}

.mcp-explore-button {
  padding: 10px 2rem;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: background-color 150ms;
  flex-shrink: 0;
}

.mcp-explore-button.enabled {
  background-color: #c63943;
}

.mcp-explore-button.enabled:hover {
  background-color: #b02a34;
}

.mcp-explore-button.disabled {
  background-color: #d1d5db;
  cursor: not-allowed;
  opacity: 0.5;
}

/* ============================================
   USE CASES VIEW
   ============================================ */
.mcp-usecases-view {
  min-height: 100vh;
  background-color: #f7f7f7;
  padding: 2rem;
}

.mcp-content-wrapper {
  max-width: 680px;
  margin: 0 auto;
}

.mcp-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.mcp-page-title {
  font-family: 'Inter', sans-serif;
  font-weight: bold;
  font-size: 28px;
  color: #002e3d;
}

.mcp-back-button,
.mcp-connectors-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: #c63943;
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 150ms;
  white-space: nowrap;
}

.mcp-back-button:hover,
.mcp-connectors-link:hover {
  color: #b02a34;
}

.mcp-connectors-link {
  display: inline-block;
  margin-bottom: 2rem;
}

.mcp-usecases-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mcp-usecase-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.mcp-usecase-header {
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color 150ms;
}

.mcp-usecase-header:hover {
  background-color: #f9fafb;
}

.mcp-usecase-title {
  font-family: 'Inter', sans-serif;
  font-weight: bold;
  font-size: 14px;
  color: #002e3d;
  padding-right: 1rem;
  flex: 1;
}

.mcp-chevron-icon {
  width: 20px;
  height: 20px;
  color: #37474f;
  flex-shrink: 0;
}

.mcp-usecase-content {
  padding: 0 2rem 1.5rem 2rem;
  border-top: 1px solid #f3f4f6;
  display: none;
}

.mcp-usecase-content.expanded {
  display: block;
}

.mcp-descriptions {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mcp-description-section h3 {
  font-family: 'Inter', sans-serif;
  font-weight: bold;
  font-size: 12px;
  color: #002e3d;
  margin-bottom: 0.5rem;
}

.mcp-description-section p {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: #777;
  line-height: 1.625;
}

.mcp-usecase-footer {
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
}

.mcp-companies-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: #c63943;
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 150ms;
}

.mcp-companies-link:hover {
  color: #b02a34;
}

/* ============================================
   COMPANIES VIEW
   ============================================ */
.mcp-companies-view {
  min-height: 100vh;
  background-color: #f7f7f7;
  padding: 2rem;
}

.mcp-companies-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mcp-company-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.mcp-company-header {
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f3f4f6;
}

.mcp-company-name {
  font-family: 'Inter', sans-serif;
  font-weight: bold;
  font-size: 14px;
  color: #002e3d;
  padding-right: 1rem;
}

.mcp-company-body {
  padding: 1.5rem 2rem;
}

.mcp-company-details {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.mcp-company-info {
  flex: 1;
  padding-right: 2rem;
}

.mcp-company-info p {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: #777;
  line-height: 1.625;
  margin-bottom: 0.25rem;
}

.mcp-company-info p strong {
  font-weight: bold;
}

.mcp-spacer {
  height: 0.25rem;
}

.mcp-company-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
}

.mcp-status-badge {
  padding: 0.25rem 0.75rem;
  background-color: #74b665;
  border-radius: 100px;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  flex-shrink: 0;
  margin-bottom: 0.75rem;
}

.mcp-company-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: #c63943;
  text-decoration: underline;
  transition: color 150ms;
  white-space: nowrap;
}

.mcp-company-link:hover {
  color: #b02a34;
}

.mcp-link-spacer {
  height: 12px;
}

/* ============================================
   LOADING STATE
   ============================================ */
.mcp-loading {
  min-height: 100vh;
  background-color: #002e3d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mcp-loading-text {
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
}

/* ============================================
   UTILITIES
   ============================================ */
.mcp-hidden {
  display: none;
}
