/* WPOptimizers - Image Optimizer Lite Admin Stylesheet */

/* General Admin Wrapper */
.wpo-wrap {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  max-width: 1000px;
}

/* Tabs */
.wpo-tabs {
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.wpo-tab-button {
  display: inline-block;
  padding: 10px 15px;
  margin-right: 5px;
  border: 1px solid #ddd;
  border-bottom: none;
  background: #f9f9f9;
  cursor: pointer;
  border-radius: 5px 5px 0 0;
  font-weight: 600;
}

.wpo-tab-button.active {
  background: #fff;
  border-bottom: 1px solid #fff;
}

/* Tab Content */
.wpo-tab-content {
  display: none;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 0 5px 5px 5px;
  background: #fff;
}

.wpo-tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Compress Button */
.wpo-compress-button {
  background: #0073aa;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s;
}

.wpo-compress-button:hover {
  background: #005d8f;
}

/* Progress Bar */
.wpo-progress-wrapper {
  margin-top: 20px;
  width: 100%;
  background: #f1f1f1;
  border: 1px solid #ddd;
  border-radius: 5px;
  height: 25px;
  overflow: hidden;
}

.wpo-progress-bar {
  height: 100%;
  width: 0%;
  background: #46b450; /* WP green */
  text-align: center;
  color: #fff;
  font-size: 13px;
  line-height: 25px;
  transition: width 0.4s ease;
}

/* Messages */
.wpo-message {
  margin-top: 15px;
  padding: 10px;
  border-radius: 4px;
  font-size: 14px;
}

.wpo-message.success {
  background: #e6f7ed;
  border: 1px solid #46b450;
  color: #155724;
}

.wpo-message.error {
  background: #fdecea;
  border: 1px solid #dc3232;
  color: #721c24;
}
.wpo-wrap img {
    display: block;
    margin: 0 auto 20px;
}

.wpo-wrap ul {
    list-style: disc inside;
    margin-left: 0;
}

.wpo-wrap h2 {
    margin-top: 20px;
}

/* ================================
   WPOptimizers Brand Progress Bar
   Colors: #fcba04 → #30BCED
================================ */

/* Wrapper */
#wpio-progress {
  background: #f3f4f6;
  border-radius: 30px;
  height: 28px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.15);
}

/* Progress bar */
#wpio-bar {
  height: 100%;
  min-width: 44px;
  line-height: 28px;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  border-radius: 30px;
  transition: width 0.4s ease;
}

/* 0% */
#wpio-bar[style*="width:0%"],
#wpio-bar[style*="width: 0%"] {
  background: transparent !important;
  color: #444 !important;
}

/* Active progress (1–99%) */
#wpio-bar:not([style*="width:0%"]):not([style*="width: 0%"]):not([style*="width:100%"]) {
  background: linear-gradient(
    90deg,
    #fcba04,
    #30BCED,
    #fcba04
  ) !important;
  background-size: 200% 100% !important;
  animation: wpio-brand-move 2s linear infinite;
  color: #000 !important;
}

/* 100% success */
#wpio-bar[style*="width:100%"] {
  background: linear-gradient(90deg, #30BCED, #fcba04) !important;
  color: #000 !important;
  box-shadow: 0 0 12px rgba(48,188,237,0.6);
}

@keyframes wpio-brand-move {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

