/**
 * Theme Name:     Sky Pilot Child
 * Author:         LifterLMS
 * Template:       sky-pilot
 * Version:        2.0.1
 * Text Domain:	   sky-pilot-child
 * Description:    The best WordPress LMS theme built for speed using modern technology and optimized for beautiful eLearning experiences. Deliver the best learner experience with a theme built exclusively for courses &amp; membership sites.
 */

@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,300;0,400;0,500;0,600;1,200;1,300;1,400;1,500;1,600&family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bangers:wght@0,300&display=swap');

.hide-field {display: none;}


@media (max-width: 1020px) {
	#cookiescript_badge{
  		margin-bottom: 150px;
	}
}


@media (max-width: 770px) {
	#cookiescript_badge{
  		margin-bottom: 45px;
	}
}

/* Stylowanie przycisku na stronie logowania */
input#wp-submit {
    background-color: #1a408d;
    border: 1px solid
}
input#wp-submit:hover {
    background-color: var(--wp--preset--color--white);
    color: var(--wp--preset--color--primary-darker);
    border: 1px solid var(--wp--preset--color--primary-darker);
}

input[type="submit"]{
    background-color: #1a408d;
    color: white;
    border-radius: 0px;
    padding:20px 85px;
}

input[type="submit"]:hover{
    background-color: white;
    color: #1a408d;
    border: 1px solid #1a408d;
}
/** Środkowanie elementów Center **/
.align-center {
   width: 100%;
  justify-content: center;
} 

/** NOWE **/
/**
.llms-student-dashboard {
  position: relative;
}

.llms-sd-header .flex.my-5 {
  position: absolute;
  top: -2.5rem;
  left: 0;
  width: 100%;
  padding-bottom: 0.75rem; 
}

.llms-sd-nav {
  margin-top: 3.5rem; 
  padding-top: 30px;
}

.llms-sd-header .llms-sd-title {
  margin-top: 60px !important;
}
**/
/** **/

/* --- LAYOUT: 2 kolumny --- */
.lifterlms .llms-student-dashboard.llms-sd-layout-columns{
  display: grid;
  grid-template-columns: 260px 1fr; /* lewa kolumna (menu), prawa (treść) */
  column-gap: 32px;
  align-items: start;
}

/* Pozwól dzieciom headera wskakiwać bezpośrednio do grida (rozdzielimy je) */
.lifterlms .llms-sd-header { display: contents; }

/* "Zalogowany jako" -> lewa kolumna, nad menu */
.lifterlms .llms-sd-header .flex.my-5{
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 12px;
  position: static !important; /* reset, gdy wcześniej było position:absolute */
}

/* Menu -> lewa kolumna pod "Zalogowany jako" */
.lifterlms .llms-sd-nav{
  grid-column: 1;
  grid-row: 2;
}

/* Tytuł -> prawa kolumna (z przerwą 60px nad) */
.lifterlms .llms-sd-title{
  grid-column: 2;
  grid-row: 1;
  margin: 60px 0 12px; /* przerwa nad <h2> = 60px */
}

/* Wszystko inne (formularz, hr, przyciski, TABELA) -> prawa kolumna */
.lifterlms .llms-student-dashboard.llms-sd-layout-columns > :not(.llms-sd-nav):not(.llms-sd-header){
  grid-column: 2;
}

/* Rząd przycisków jak na podglądzie: po prawej, w jednej linii, a na wąskich – łamane */
.lifterlms .llms-student-dashboard .flex.space-around{
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin: 16px 0;
}

/* Tabela tokenów pełna szerokość w prawej kolumnie, pod przyciskami */
.lifterlms .tokens__table{
  width: 100%;
  margin-top: 8px;
}

/* Drobna kosmetyka */
.lifterlms .divider{ margin: 24px 0; }

/** **/

/* ANKIETY: zbicie odstępów między tytułem a przyciskami */
.lifterlms .llms-student-dashboard.podglad-ankiet .llms-sd-header{
  margin:0 !important;
  padding:0 !important;
}
.lifterlms .llms-student-dashboard.podglad-ankiet .llms-sd-header .llms-sd-title{
  margin:0 !important;          /* h2 niech nie dorzuca marginesu */
  line-height:1.2;
}

/* Dzielenik robi największą przerwę – wyłącz lub zmniejsz */
.lifterlms .llms-student-dashboard.podglad-ankiet hr.divider{
  display:none !important;      /* jeśli chcesz kreskę zamiast wyłączania: 
                                   background:#e9eef5; height:1px; border:0; margin:12px 0 !important; */
}

/* Przyciski tuż pod tytułem */
.lifterlms .llms-student-dashboard.podglad-ankiet .flex.space-around{
  margin-top:12px !important;   /* ustaw 0–12px wedle uznania */
}

/** **/

.llms-main .llms-lesson-title {
  margin-left: 12px; 
}
/** IN **/

/* Tytuł karty: padding po lewej i prawej */
.llms-loop-item .llms-loop-title a {
  display: block;              /* żeby padding działał na całą szerokość */
  padding-left: 26px;
  padding-right: 26px;
	padding-bottom: 26px;
  color: #1a408d;
}

/* Pasek postępu jak na screenie — w jednej linii z % i z tym samym paddingiem boków */
.llms-loop-item .llms-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 26px !important;
  padding-right: 26px !important;
}

.llms-loop-item .llms-progress-bar {
  flex: 1 1 auto;
  height: 14px;
  background: #e6e6e6;         /* jasnoszare tło */
  border-radius: 999px;
  overflow: hidden;
}

.llms-loop-item .llms-progress-bar .progress-bar-complete {
  height: 100%;
  border-radius: 999px;
}

.llms-loop-item .llms-progress .progress__indicator {
  margin: 0;                   /* bez dodatkowych marginesów */
  white-space: nowrap;         /* trzyma “0%” w jednej linii */
}

/** IN2 **/

/* Pasek postępu w .llms-course-progress w jednej linii z % */
.llms-course-progress .llms-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 26px !important;
}

.llms-course-progress .llms-progress-bar {
  flex: 1 1 auto;
  height: 14px;
  background: #e6e6e6;
  border-radius: 999px;
  overflow: hidden;
}

.llms-course-progress .llms-progress-bar .progress-bar-complete {
  height: 100%;
  border-radius: 999px;
}

.llms-course-progress .llms-progress .progress__indicator {
  margin: 0;
  white-space: nowrap;
}


/* --- MOBILE: układ jedna kolumna --- */
@media (max-width: 992px){
  .lifterlms .llms-student-dashboard.llms-sd-layout-columns{ display:block; }
  .lifterlms .llms-sd-header{ display:block; }
  .lifterlms .llms-sd-title{ margin-top:24px; }
}

/** **/

/* Unlimitech poprawki #12685  */
tbody th,
td {
	text-align: center;
}