/* dashboard.css */

/* Basic reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Use a clean, modern font */
body {
  font-family: 'Inter', sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

/* Layout container */
.dashboard-container {
  display: flex;
  height: 100vh;
}

/* SIDEBAR */
.sidebar {
  width: 250px;
  background-color: #fff;
  border-right: 1px solid #e2e2e2;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sidebar h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.sidebar-nav ul {
  list-style: none;
}

.sidebar-nav li {
  margin: 10px 0;
}

.sidebar-nav li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.2s;
}

.sidebar-nav li a:hover {
  color: #2d70f3;
}

.sidebar-nav .active a {
  color: #2d70f3;
  font-weight: 600;
}

.sidebar-footer {
  text-align: center;
  margin-top: auto;
}

.premium-btn {
  background-color: #2d70f3;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

.premium-btn:hover {
  background-color: #1f5bd1;
}

/* MAIN CONTENT */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background-color: #fafafa;
}

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.main-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
}

.theme-switch-btn {
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.theme-switch-btn:hover {
  background-color: #eee;
}

/* Resume Preview */
.resume-preview-container {
  flex: 1;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.resume-preview {
  width: 700px;
  height: 900px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
}

/* Theme Thumbnails */
.theme-thumbnails {
  padding: 20px;
  border-top: 1px solid #e2e2e2;
  background-color: #fff;
}

.theme-thumbnails h3 {
  margin-bottom: 16px;
  font-size: 1.2rem;
  font-weight: 600;
}

.thumbnail-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.thumbnail-item {
  background-color: #fafafa;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  width: 150px;
  text-align: center;
  padding: 10px;
}

.thumbnail-item img {
  max-width: 100%;
  border-radius: 4px;
}

.thumbnail-item button {
  margin-top: 8px;
  background-color: #2d70f3;
  color: #fff;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
}

.thumbnail-item button:hover {
  background-color: #1f5bd1;
}
