/* =========================================================
   Miss Alva Prototype Dashboard Styles
   ========================================================= */

/* --- Global Layout --- */
body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: #444;
  background: #f5f7fa;
  margin: 0;
  padding: 0;
}

/* --- Main Grid Layout --- */
.layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

/* --- Sidebar --- */
.sidebar {
  background: #1C3840;
  color: #fff;
  padding: 40px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.logo-panel {
  text-align: center;
}

.sidebar-logo {
  width: 160px;
  height:auto;
  padding:10px;
  /* height: 126px; */
  border-radius: 2px;
  margin-bottom: 15px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.sidebar h2 {
  margin: 0;
  font-size: 1.4rem;
  color: #E6A33D;
}

.sidebar p {
  font-size: 0.85rem;
  color: #cdd6db;
  margin-top: 4px;
}

/* --- Main Area --- */
.main-content {
  padding: 40px 60px;
  background: #f5f7fa;
}

.app-header {
  margin-bottom: 30px;
}

.app-header h1 {
  font-size: 2rem;
  color: #1C3840;
  margin-bottom: 6px;
}

.app-header p {
  color: #666;
  font-size: 0.95rem;
}

/* --- Dashboard Container --- */
#app {
  max-width: 1100px;
  margin: 0 auto;
}

/* --- Card / Module Style --- */
.module {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  margin-bottom: 30px;
  padding: 25px 30px;
  text-align: left;
  transition: all 0.2s ease-in-out;
}

.module:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.module h3 {
  color: #1C3840;
  margin-top: 0;
}

/* --- Buttons --- */
button {
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease-in-out;
}

button.mic-btn {
  background: linear-gradient(90deg, #E6A33D, #cf8d2f);
  color: #fff;
  border-radius: 40px;
  padding: 12px 28px;
  font-size: 15px;
}

button.mic-btn.active {
  background: linear-gradient(90deg, #dc3545, #b02a37);
}

button.debug-btn {
  background: linear-gradient(90deg, #1C3840, #2b5562);
  color: #fff;
  border-radius: 30px;
  padding: 8px 20px;
  font-size: 13px;
  margin: 6px;
}

button.debug-btn:hover {
  opacity: 0.9;
}

/* --- Inputs and Textareas --- */
input, textarea {
  font-family: inherit;
  border-radius: 8px;
  border: 1px solid #ccc;
  padding: 8px 10px;
  font-size: 14px;
  transition: border-color 0.2s;
  width: auto;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #E6A33D;
}

/* --- Debug Console --- */
.debug-console {
  background: #f8fafc;
  border: 1px solid #e0e4e7;
  border-radius: 8px;
  padding: 12px;
  overflow-y: auto;
  max-height: 300px;
  font-family: monospace;
  font-size: 13px;
}

/* --- Oscilloscope --- */
#oscilloscope {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.05);
}

/* --- Section Titles --- */
.module h2, .module h3, .module h5 {
  margin-top: 0;
  color: #1C3840;
}

hr {
  border: 0;
  border-top: 1px solid #ddd;
  margin: 40px 0;
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
  .layout {
	grid-template-columns: 1fr;
  }

  .sidebar {
	flex-direction: row;
	justify-content: space-between;
	padding: 20px;
  }

  .sidebar-logo {
	width: 160px;
	  height:auto;
	  padding:10px;
	margin-bottom: 0;
  }

  .sidebar h2 {
	font-size: 1.2rem;
  }

  .main-content {
	padding: 20px;
  }
}