/* Plesk Module Overrides */

.plesk-panel-container {
  margin-bottom: 25px;
  border-bottom: 1px solid #E9EBF0;
}

.plesk-details-tab-container {
  padding-bottom: 40px;
}

.plesk-section-block {
  margin-block: 24px;
}

.plesk-section-title {
  font-family: 'Gotham-Medium', Helvetica, Arial, sans-serif;
  color: #45484C;
  font-size: 18px;
}

.plesk-action-list {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.plesk-action-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  background: #f9fafb;
  color: #0071BC;
  justify-content: flex-start;
  padding: 12px 18px;
  border: solid 1px #E9EBF0;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.plesk-action-btn:hover,
.plesk-action-btn:focus {
  text-decoration: none;
  background: #f0f4f8;
  border-color: #0071BC;
  color: #0071BC;
}

.plesk-action-label {
  font-size: 14px;
  color: #45484C;
  line-height: 16px;
  font-family: 'Gotham-Light', Helvetica, sans-serif;
}

/* Resource Usage */
#resourceusage {
  padding-top: 24px;
}

.plesk-usage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 767px) {
  .plesk-usage-grid {
    grid-template-columns: 1fr;
  }
}

.plesk-usage-card {
  background: #f9fafb;
  border: 1px solid #E9EBF0;
  border-radius: 8px;
  padding: 20px 24px;
}

.plesk-usage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.plesk-usage-header .plesk-section-title {
  margin: 0;
}

.plesk-usage-percent {
  font-family: 'Gotham-Medium', Helvetica, Arial, sans-serif;
  font-size: 18px;
  color: #45484C;
}

.plesk-usage-bar {
  height: 8px;
  border-radius: 4px;
  background: #E9EBF0;
  overflow: hidden;
}

.plesk-usage-bar-fill {
  height: 100%;
  min-width: 2px;
  border-radius: 4px;
  background: #1F6CE0;
  transition: width 0.3s ease-in-out;
}

.plesk-usage-bar-fill.is-warning {
  background: #F0AD4E;
}

.plesk-usage-bar-fill.is-danger {
  background: #D9534F;
}

.plesk-usage-value {
  margin: 12px 0 0;
  font-size: 14px;
  color: #6B7280;
  font-family: 'Gotham-Light', Helvetica, sans-serif;
}

.plesk-usage-value strong {
  color: #45484C;
  font-family: 'Gotham-Medium', Helvetica, Arial, sans-serif;
  font-weight: normal;
}

.plesk-usage-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0 0;
}

.plesk-usage-updated {
  margin: 16px 0 0;
  font-size: 13px;
  color: #9CA3AF;
}
