/* PluginEasy Clone Stylesheet */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background-color: #11b6f4;
  font-family: "Exo 2", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  -webkit-font-smoothing: antialiased;
}

/* Header */
header {
  width: 100%;
  background-color: #11b6f4;
  text-align: center;
}

.header-content {
  padding-top: 0;
}

.header-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.header-icon-wrapper {
  text-align: center;
}

.header-logo {
  display: inline-block;
  width: 200px;
  height: 200px;
  object-fit: contain;
  vertical-align: middle;
}

header h5 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
  color: #ffffff;
}

/* Search Section */
.container-fluid {
  width: 100%;
  padding: 0 50px;
}

.app-search-sect {
  padding: 25px 0;
  background-color: #11b6f4;
}

.app-search-wrapp {
  width: 100%;
}

#app-search-id fieldset {
  position: relative;
  border: none;
  margin: 0;
  padding: 0;
}

.search-icon {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  color: #333333;
  pointer-events: none;
}

.sp-input {
  display: block;
  width: 100%;
  height: 60px;
  padding: 0 24px 0 65px;
  background-color: #efefef;
  border: none;
  border-radius: 50px;
  box-shadow: none;
  font-family: inherit;
  font-size: 1.4em;
  color: #000000;
  outline: none;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.sp-input::placeholder {
  color: #757575;
}

.sp-input:focus {
  background-color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
}

/* App List */
.all-apps-wrappp {
  margin-top: 0;
  padding-bottom: 40px;
  background-color: #11b6f4;
}

.app-line-grid {
  list-style: none;
  margin: 0;
  padding: 0;
}

.app-search-item {
  position: relative;
  display: flex;
  align-items: center;
  padding: 15px 52px 15px 7px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(51, 51, 51, 0.5);
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.app-search-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.app-search-item:last-child {
  border-bottom: none;
}

.app-search-item.is-hidden {
  display: none;
}

.app-img-wrapper {
  flex: 0 0 68px;
  width: 68px;
  margin-right: 16px;
}

.app-img {
  display: block;
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 19px;
  box-shadow: 0px 10px 25px 0px rgba(0, 0, 0, 0.6);
  background-color: rgba(255, 255, 255, 0.15);
}

.app-info-wrapp {
  flex: 1 1 auto;
  min-width: 0;
}

.app-author {
  font-size: 0.9em;
  color: #000000;
  line-height: 1.3;
}

.app-title {
  font-size: 1.2em;
  font-weight: 700;
  color: #ededed;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
  line-height: 1.35;
}

.app-description {
  font-size: 1em;
  color: #ffffff;
  line-height: 1.35;
}

.app-chevron {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  color: rgba(51, 51, 51, 0.55);
  transition: transform 0.15s ease, color 0.15s ease;
}

.app-search-item:hover .app-chevron {
  transform: translate(3px, -50%);
  color: rgba(51, 51, 51, 0.85);
}

.empty-search-state {
  display: none;
  text-align: center;
  padding: 48px 20px;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 600;
}

.empty-search-state.is-visible {
  display: block;
}

/* Modal Step 1 (Magnific Popup Equivalent) */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px 15px;
  background-color: rgba(0, 0, 0, 0.72);
  overflow-y: auto;
}

.modal-backdrop.is-open {
  display: flex;
}

#app-modal-holder {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: auto;
  animation: bounceIn 0.45s cubic-bezier(0.215, 0.61, 0.355, 1) both;
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 10;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  color: #15151e;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease;
}

.modal-close-btn:hover {
  background: rgba(0, 0, 0, 0.3);
}

.app-modal-holder-top-wrapper {
  background: #00ff88;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  padding: 28px 20px 0;
  text-align: center;
  overflow: hidden;
}

.mockup-holder {
  position: relative;
  width: 270px;
  max-width: 100%;
  margin: 0 auto;
  line-height: 0;
}

.phone-mockup-svg {
  display: block;
  width: 100%;
  height: auto;
}

.phone-photo {
  position: absolute;
  top: 23.5%;
  left: 11.43%;
  width: 15.24%;
  height: 17.49%;
  object-fit: cover;
  border-radius: 22%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.app-modal-holder-bottom-wrapper {
  background: #15151e;
  color: #ffffff;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  padding: 26px 24px 32px;
  text-align: center;
}

.modal-app-name {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #00ff88;
  letter-spacing: 0.02em;
}

.modal-heading {
  margin: 0 0 10px;
  font-size: 1.7rem;
  font-weight: 700;
  color: #ffffff;
}

.modal-subtitle {
  margin: 0 0 24px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
}

.app-btn {
  display: inline-block;
  padding: 14px 38px;
  background: #00ff88;
  color: #333333;
  border: none;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  animation: pulseBtn 1.8s infinite;
  transition: filter 0.15s ease;
}

.app-btn:hover {
  filter: brightness(1.06);
}

/* Modal Step 2 (Processing Overlay) */
#process-divv {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px 15px;
  background: rgba(0, 0, 0, 0.72);
}

#process-divv.is-open {
  display: flex;
}

.processing-wrapper {
  width: 100%;
  max-width: 460px;
  background: #ffffff;
  border-radius: 12px;
  padding: 30px 26px;
  text-align: center;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.7), 0 3px 5px 0 rgba(0, 0, 0, 0.3);
  animation: bounceIn 0.4s ease both;
}

.processing-app-icon {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  object-fit: cover;
  margin: 0 auto 14px;
  display: block;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.processing-title {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000000;
}

.processing-status {
  min-height: 28px;
  margin: 0 0 20px;
  font-size: 1rem;
  font-weight: 600;
  color: #333333;
}

.processing-status.animate-msg {
  animation: bounceIn 0.4s ease both;
}

.progress-track {
  width: 100%;
  height: 16px;
  background: #e9ecef;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}

#progressBarConsole {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #11b6f4, #00ff88);
  border-radius: 999px;
  transition: width 0.2s linear;
}

.progress-percent {
  font-size: 0.9rem;
  font-weight: 700;
  color: #555555;
  margin-bottom: 18px;
}

.processing-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-secondary {
  padding: 10px 22px;
  background: #efefef;
  color: #333333;
  border: none;
  border-radius: 5px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-secondary:hover {
  background: #e2e2e2;
}

.btn-continue {
  display: none;
  padding: 10px 24px;
  background: #00ff88;
  color: #15151e;
  border: none;
  border-radius: 5px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn-continue.is-visible {
  display: inline-block;
}

/* Animations */
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }
  60% {
    opacity: 1;
    transform: scale(1.02);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulseBtn {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

/* Responsive Breakpoints */
@media (max-width: 767px) {
  .container-fluid {
    padding: 0 24px;
  }
}

@media (max-width: 550px) {
  .container-fluid {
    padding: 0 15px;
  }

  .sp-input {
    height: 54px;
    font-size: 1.15em;
    padding-left: 56px;
  }

  .search-icon {
    left: 18px;
    width: 22px;
    height: 22px;
  }

  .app-img-wrapper {
    flex: 0 0 60px;
    width: 60px;
    margin-right: 12px;
  }

  .app-img {
    width: 58px;
    height: 58px;
    border-radius: 16px;
  }

  .app-search-item {
    padding: 12px 38px 12px 4px;
  }

  .app-chevron {
    right: 10px;
  }
}

@media (max-width: 400px) {
  header h5 {
    font-size: 1.05rem;
  }

  .app-author {
    font-size: 0.8em;
  }

  .app-title {
    font-size: 1.05em;
  }

  .app-description {
    font-size: 0.9em;
  }
}

@media (max-width: 360px) {
  .mockup-holder {
    width: 200px;
  }
}
