:root{
  --bg:#fffaf0;
  --card:#ffffff;
  --accent:#de9406;
  --muted:#ffedcb;
  --radius:12px;
  --shadow: 0 8px 30px rgba(50, 46, 30, 0.08);
}


.container-php-compiler {
  height: 100%;
  width: 100%;
  font-family: Inter, system-ui, Segoe UI, Roboto, Arial;
  background: var(--bg);
  color: #222;

}
.container-php-compiler .editor {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 5px;
}
.container-php-compiler .editor-wrapper {
  width: 100%;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(50, 48, 30, 0.06);
}
.container-php-compiler .editor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(50, 46, 30, 0.04);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.4));
}
.container-php-compiler .project-title {
  font-weight: 600;
  color: var(--accent);
}
.container-php-compiler .file-name {
  font-weight: 600;
  color: #333;
  margin-left: 8px;
}
.container-php-compiler .header-actions .small-btn {
  background: transparent;
  border: 1px dashed #d0d7dc;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  color: #333;
}
.container-php-compiler .editor-main {
  display: flex;
  gap: 12px;
  padding: 16px;
  align-items: stretch;
}
.container-php-compiler .editor-body {
  display: flex;
  flex: 1;
  min-width: 300px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(50, 45, 30, 0.05);
}
.container-php-compiler .editor-code {
  flex: 1;
}
.container-php-compiler .editor-controls {
  width: 110px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  border: 1px solid #de9406 !important;
  background: linear-gradient(180deg, #fffbeb, #fffbeb);
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(50, 45, 30, 0.03);
}
.container-php-compiler .editor-btn {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  color: #fff;
  background: var(--accent);
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(167, 155, 44, 0.12);
  transition: transform 0.12s ease, box-shadow 0.12s;
}
.container-php-compiler .editor-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(167, 138, 44, 0.16);
}
.container-php-compiler .editor-btn.editor-reset {
  background: #817a67;
}
.container-php-compiler .editor-btn.editor-compile-only {
  background: #de9406;
}
.container-php-compiler .editor-output {
  flex: 0 0 420px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
}
.container-php-compiler .output-header {
  padding: 8px 12px;
  border-bottom: 1px solid rgba(50, 45, 30, 0.04);
  font-weight: 600;
  color: #333;
}
.container-php-compiler .editor-console {
  background: #201b0b;
  color: #f8f3d8;
  padding: 12px;
  height: 600px;
  overflow: auto;
  border-radius: 8px;
  border: 1px solid rgba(50, 47, 30, 0.04);
}
.container-php-compiler .editor-console-logs {
  list-style: none;
  font-family: monospace;
  font-size: 13px;
}
.container-php-compiler .editor-console-logs li {
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.02);
}
.container-php-compiler .log-info {
  color: #ffeebf;
}
.container-php-compiler .log-warn {
  color: #ffd27f;
}
.container-php-compiler .log-error {
  color: #ff9b9b;
}
@media (max-width: 1050px) {
  .container-php-compiler {
    /* .editor-code{height:420px} */
  }
  .container-php-compiler .editor-output {
    flex-basis: 360px;
  }
}
@media (max-width: 860px) {
  .container-php-compiler {
    /* .editor-code{height:360px} */
  }
  .container-php-compiler .editor-main {
    flex-direction: column;
    padding: 12px;
  }
  .container-php-compiler .editor-controls {
    width: 100%;
    flex-direction: row;
    padding: 10px;
    border-radius: 8px;
  }
  .container-php-compiler .editor-output {
    width: 100%;
  }
}
.container-php-compiler .editor-main {
  display: flex;
  gap: 12px;
  padding: 16px;
  align-items: stretch;
}
.container-php-compiler .editor-body {
  flex: 1;
  min-width: 300px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  overflow: hidden;
}
.container-php-compiler .editor-controls {
  width: 110px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.container-php-compiler .editor-btn {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  background: #de9406;
  color: #fff;
}
.container-php-compiler .editor-output {
  flex: 0 0 420px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
}
.container-php-compiler .editor-console {
  background: #201b0b;
  color: #f8f1d8;
  padding: 12px;
  height: 520px;
  overflow: auto;
  border-radius: 8px;
}
.container-php-compiler .editor-console-logs {
  list-style: none;
  font-family: monospace;
  font-size: 13px;
}
.container-php-compiler .editor-console-logs li {
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.02);
}
.container-php-compiler .log-stdout {
  color: #fff3bf;
}
.container-php-compiler .log-stderr {
  color: #ff9b9b;
}
@media (max-width: 860px) {
  .container-php-compiler .editor-main {
    flex-direction: column;
  }
  .container-php-compiler .editor-code {
    height: 320px;
  }
  .container-php-compiler .editor-console {
    height: 240px;
  }
  .container-php-compiler .editor-controls {
    flex-direction: row;
    width: 100%;
  }
}