/* CSS styles for main platform pages */

body {
  background-color: #F6F6F6;
  height: auto;
  min-height: 100%;
}

#dashboard-container {
  display: flex;
  flex-direction: row;
  height: auto;
  min-height: 100vh;
}

#dashboard-sidebar {
  align-items: stretch;
  background-color: #fff;
  border-right: 1px solid #EBEBEB;
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: auto;
  min-height: 100%;
  min-width: 150px;
  padding: 16px 20px;
  width: 200px;
}

#dashboard-sidebar .logo {
  display: flex;
  justify-content: center;
}

#dashboard-sidebar .logo img {
  width: 66px;
}

#sidebar-navigation {
  display: flex;
}

#sidebar-navigation ul {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  width: 100%;
}

#sidebar-navigation li a {
  display: flex;
  gap: 8px;
  align-items: center;
}

#sidebar-bottom {
  display: flex;
  flex-direction: column;
  margin-top: auto;
}

#sidebar-bottom .secondary-nav ul {
  margin: 0;
  padding: 0;
}

#dashboard-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

#dashboard-top-bar {
  align-items: center;
  background-color: #fff;
  border-bottom: 1px solid #EBEBEB;
  display: flex;
  justify-content: space-between;
  height: 60px;
  padding: 0 20px;
}

#dashboard-top-bar h1 {
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 0;
}

ul.list-inline {
  display: flex;
  list-style-type: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

ul.list-inline li {
  margin-right: 10px;
  margin-bottom: 0;
}

ul.list-inline li:last-child {
  margin-right: 0;
}

#main-content {
  padding: 24px;
}

#campaign-list,
#template-list {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  padding: 0;
  margin: 0;
}

.campaign-card {
  max-width: 280px;
  width: 100%;
}

.campaign-card .thumbnail {
  align-items: center;
  aspect-ratio: 4/3;
  background-color: #fff;
  border-radius: 10px;
  color: #999;
  display: flex;
  font-size: 0.75rem;
  justify-content: center;
  overflow: hidden;
}

.campaign-card .thumbnail img {
  color: #999;
  width: 100%;
  height: 100%;
  object-fit: cover;
  font-size: 0.75rem;
}

.campaign-card .title {
  color: #333;
  font-size: 0.875rem;
  font-weight: 500;
  margin: 8px 0 4px;
}

.campaign-card .details {
  color: #9A9A9C;
  font-size: 0.75rem;
  line-height: 0.75rem;
}

/* Template page styles */

#template-list {
  margin: 0 0 24px 0;
}

/* Modal styles moved to /css/modals.css */




/* Form Styles */

form {
  /* display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start; */
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
  background-color: #fff;
  border: 1px solid #EBEBEB;
  border-radius: 8px;
  color: #333;
  font-size: 1rem;
  padding: 12px 16px;
  transition: border-color 0.3s;
  width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border-color: #B3B3B3;
  outline: none;
}

button {
  background-color: #007BFF;
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 24px;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #0056b3;
}

label {
  color: #333;
  font-size: 0.875rem;
  margin-bottom: 4px;
}

fieldset {
  border: 1px solid #EBEBEB;
  border-radius: 8px;
  margin: 0;
  padding: 16px;
}

legend {
  color: #333;
  font-size: 1rem;
  font-weight: 500;
  padding: 0 8px;
}

input[type="checkbox"],
input[type="radio"] {
  margin-right: 8px;
}