/* Copyright (c) 2025 Batch Install Pro by Levent Özgür | All Rights Reserved. */


:root {
  --primary: #4361ee;
  --secondary: #3f37c9;
  --success: #4cc9f0;
  --light: #f8f9fa;
  --dark: #212529;
  --grey: #ced4da;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f5f7fb;
  color: var(--dark);
  line-height: 1.6;
}

header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 2rem 0;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.tagline {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto;
}

main {
  padding: 2rem 0;
}

.platform-selection {
  background-color: white;
  border-radius: 10px;
  padding: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.platform-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.platform-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  background-color: var(--grey);
  color: var(--dark);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.platform-btn.active {
  background-color: var(--primary);
  color: white;
}

.platform-btn:hover {
  transform: translateY(-2px);
}

.app-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.category {
  background-color: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--grey);
}

.category-title {
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.app-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.app-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.app-checkbox {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--grey);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}

.app-checkbox:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.app-checkbox:checked::after {
  content: "✓";
  position: absolute;
  color: white;
  font-size: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.app-label {
  cursor: pointer;
  flex-grow: 1;
}

.script-section {
  background-color: white;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.script-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.script-output {
  background-color: var(--dark);
  color: white;
  border-radius: 6px;
  padding: 1rem;
  white-space: pre-wrap;
  overflow-x: auto;
  font-family: "Courier New", Courier, monospace;
  min-height: 200px;
  max-height: 400px;
  overflow-y: auto;
}

.action-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-secondary {
  background-color: var(--grey);
  color: var(--dark);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:active {
  transform: translateY(0);
}

.copy-tooltip {
  position: relative;
}

.tooltip {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--dark);
  color: white;
  padding: 0.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
  display: none;
}

.tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: var(--dark);
}

footer {
  text-align: center;
  padding: 1.5rem 0;
  background-color: #18181b;
  color: #f1f0ef;
  margin-top: 3rem;
}

footer a {
  color: #f1f0ef;
}

footer a:hover {
  text-decoration: underline;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  text-align: left;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.feature-icon {
  font-size: 1.2rem;
  color: var(--success);
}

.select-all-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

@media (max-width: 768px) {
  .app-categories {
    grid-template-columns: 1fr;
  }

  .platform-buttons {
    flex-direction: column;
  }

  .action-buttons {
    flex-direction: column;
  }
}
