* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #f6f7fb;
}

.app {
  display: flex;
  height: 100vh;
}

/* SIDEBAR */
.sidebar {
  width: 240px;
  background: #fff;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
}

.logo-icon {
  background: #2B579A; /* Azul do Word */
  color: #fff;
  font-weight: bold;
  border-radius: 10px;
  padding: 8px 12px;
  font-family: Arial, sans-serif;
}

.logo-text {
  color: #2B579A; /* Azul do Word */
  font-size: 20px;
  font-weight: bold;
  font-family: Arial, sans-serif;
}


.sidebar nav a {
  display: block;
  text-decoration: none;
  color: #999;
  margin-bottom: 20px;
}

.sidebar nav a.active {
  color: #4f7cff;
  font-weight: 600;
}

.logout {
  margin-top: auto;
  color: #999;
  cursor: pointer;
}

/* MAIN */
.content {
  flex: 1;
  padding: 40px;
}


h1 {
  margin-bottom: 15px;
}

.tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.tab {
  color: #aaa;
  cursor: pointer;
}

.tab.active {
  color: #4f7cff;
  font-weight: bold;
}

/* COURSE CARD */
.course-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

.thumb {
  width: 140px;
  height: 120px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb img {
  width: 90px;
}

.yellow { background: #ffd86b; }
.blue { background: #8ea2ff; }
.pink { background: #ffb5c5; }

.info {
  flex: 1;
}

.info h3 {
  margin-bottom: 6px;
}

.desc {
  font-size: 14px;
  color: #888;
  margin-bottom: 10px;
}

.tags span {
  background: #f1f2f6;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 12px;
  margin-right: 5px;
}

.date {
  font-size: 13px;
  color: #777;
  margin-top: 8px;
}

.right {
  text-align: right;
}

.rating {
  display: block;
  margin-bottom: 10px;
}

.right button {
  background: #2B579A; /* Azul Word */
  border: none;
  color: #fff;
  padding: 10px 18px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
}


.overlay {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
}

.frame-box {
    width: 90%;
    max-width: 1000px;
    height: 90%;
    background: #fff;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.genially-frame {
    width: 100%;
    height: 100%;
    border: none;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
}
