/* YourYouthBook Custom Style
   Consistent beige/bruin-oranje kleurenschema
-------------------------------------------------- */

:root {
  /* Basis kleuren */
  --yy-orange-light: #F28C38;
  --yy-orange: #E07A32;
  --yy-orange-dark: #C85C27;
  
  /* Beige tinten */
  --yy-beige-lightest: #FAF3EB;
  --yy-beige-light: #F5E3D0;
  --yy-beige: #E8BB80;
  --yy-beige-dark: #C28B52;
  --yy-beige-darkest: #8B5A2B;
  
  /* Text kleuren */
  --yy-text-light: #FFFFFF;
  --yy-text-dark: #333333;
}

/* Gradient headers */
.yy-header {
  background-color: var(--yy-beige-light);
  padding: 20px;
  border-radius: 8px 8px 0 0;
  color: var(--yy-beige-dark);
}

.yy-gradient-header {
  background: linear-gradient(90deg, var(--yy-orange-light) 0%, var(--yy-orange-dark) 100%);
  color: var(--yy-text-light);
  padding: 20px;
  border-radius: 8px 8px 0 0;
}

/* Containers */
.yy-container {
  background-color: var(--yy-beige-lightest);
  border-radius: 0 0 8px 8px;
  padding: 20px;
}

/* Knoppen */
.yy-btn-primary {
  background-color: var(--yy-beige-dark);
  color: var(--yy-text-light);
  font-weight: bold;
  padding: 10px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  border: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.yy-btn-primary:hover {
  background-color: var(--yy-beige-darkest);
}

.yy-btn-secondary {
  border: 1px solid var(--yy-beige-dark);
  background-color: transparent;
  color: var(--yy-beige-darkest);
  font-weight: 600;
  padding: 10px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.yy-btn-secondary:hover {
  background-color: var(--yy-beige-light);
  color: var(--yy-beige-darkest);
}

/* Module cards */
.module-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
  position: relative;
  height: 220px;
  min-height: 220px;
  max-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.module-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.module-card .module-icon {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, var(--yy-orange-light) 0%, var(--yy-orange-dark) 100%);
  color: var(--yy-text-light);
  font-weight: 600;
  text-shadow: 0px 1px 2px rgba(0,0,0,0.2);
}

.module-card .module-body {
  padding: 15px;
  text-align: center;
}

.module-card .module-title {
  font-weight: bold;
  margin-bottom: 5px;
  color: var(--yy-beige-dark);
}

.module-card .module-description {
  font-size: 0.9rem;
  color: #666;
}

/* Alerts */
.yy-alert {
  background-color: var(--yy-beige-light);
  border-color: var(--yy-beige);
  color: var(--yy-beige-dark);
  padding: 12px;
  border-radius: 4px;
  margin-bottom: 20px;
}

/* Custom Outline Button for Branding */
.btn-outline-custom {
  border: 1.5px solid #8B5A2B;
  color: #8B5A2B;
  background: transparent;
  font-weight: bold;
  transition: all 0.2s;
}
.btn-outline-custom:hover, .btn-outline-custom:focus {
  border-color: #8B5A2B;
  color: #ffffff;
  background: #8B5A2B;
  outline: 2px solid #8B5A2B;
  outline-offset: 1px;
}

.btn-outline-custom:focus, .btn-outline-custom:active, .btn-outline-custom:focus-visible, .btn-outline-custom:focus-within {
  outline: 2px solid #bdbdbd !important;
  outline-offset: 1px !important;
  box-shadow: none !important;
}

.btn-outline-custom:hover,
.btn-outline-custom:focus,
.btn-outline-custom:active,
.btn-outline-custom:focus-visible,
.btn-outline-custom:focus-within {
  box-shadow: none !important;
}

/* Custom Danger Badge for Branding */
.bg-custom-danger {
  background-color: #8B5A2B !important;
  color: #fff !important;
}

/* Tabs */
.yy-nav-tabs {
  border-bottom-color: var(--yy-beige);
}

.yy-nav-link {
  color: var(--yy-beige-dark);
  border-color: var(--yy-beige) var(--yy-beige) var(--yy-beige-lightest);
  background-color: var(--yy-beige-lightest);
}

.yy-nav-link.active {
  color: var(--yy-beige-dark);
  font-weight: bold;
  border-color: var(--yy-beige) var(--yy-beige) #fff;
  background-color: #fff;
}

/* Uniforme kopteksten voor alle modules
-------------------------------------------------- */

/* Grote module header (pagina titel) */
.yy-module-title {
  background-color: var(--yy-beige-light);
  padding: 15px;
  border-radius: 8px 8px 0 0;
  color: var(--yy-beige-dark);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0;
  display: flex;
  align-items: center;
}

.yy-module-title i {
  margin-right: 0.5rem;
}

/* Sectie headers binnen modules */
.yy-section-header {
  background-color: var(--yy-beige-light);
  padding: 12px 15px;
  border-radius: 8px 8px 0 0;
  color: var(--yy-beige-dark);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0;
}

/* Subsectie headers binnen modules */
.yy-subsection-header {
  background-color: var(--yy-beige-light);
  padding: 10px 15px;
  border-radius: 8px 8px 0 0;
  color: var(--yy-beige-dark);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0;
}

/* Klein kaartje headers */
.yy-card-header {
  background-color: var(--yy-beige-light);
  padding: 10px;
  border-radius: 8px 8px 0 0;
  color: var(--yy-beige-dark);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0;
}

/* Algemene header stijlen */
h1.yy-styled, .h1.yy-styled {
  color: var(--yy-beige-darkest);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

h2.yy-styled, .h2.yy-styled {
  color: var(--yy-beige-dark);
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.9rem;
}

h3.yy-styled, .h3.yy-styled {
  color: var(--yy-beige-dark);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

h4.yy-styled, .h4.yy-styled {
  color: var(--yy-beige-dark);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

h5.yy-styled, .h5.yy-styled {
  color: var(--yy-beige-dark);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

h6.yy-styled, .h6.yy-styled {
  color: var(--yy-beige-dark);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
