
.pl-kursant-imie {
    font-size: 1.3em;
    font-weight: 700;
    color: #23344f;
}

/* Kontener panelu */
#panel-lektora {
    max-width: 1200px !important;
    margin: 40px auto;
    background: #f8f7f4;
    border-radius: 24px;
    box-shadow: 0 4px 24px 0 #23344f14;
    font-family: 'Lora', 'EB Garamond', Georgia, serif;
    padding: 32px 24px;
    color: #23344f;
}

/* Pasek nawigacyjny */
#panel-lektora .pl-nav {
    display: flex;
    gap: 18px;
    margin-bottom: 36px;
    justify-content: flex-start;
}
#panel-lektora .pl-nav a,
#panel-lektora .pl-nav-btn {
    background: #2a3b4b;
    color: #fff;
    text-decoration: none;
    padding: 9px 32px;
    font-size: 1.07em;
    border-radius: 18px;
    box-shadow: 0 2px 8px 0 #2a3b4b0d;
    transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    border: 2px solid transparent;
    outline: none;
    display: inline-block;
    box-sizing: border-box;
}
#panel-lektora .pl-nav a.active,
#panel-lektora .pl-nav-btn.active,
#panel-lektora .pl-nav a:hover {
    background: #e9e7e1;
    color: #2a3b4b;
    border-color: #2a3b4b;
    box-shadow: 0 0 10px #23344f33;
}

/* Nagłówki */
#panel-lektora h2,
#panel-lektora h3,
#panel-lektora h4 {
    font-family: 'Lora', 'EB Garamond', Georgia, serif;
    font-weight: 700;
    color: #2a3b4b;
    letter-spacing: 0.5px;
    margin-top: 0;
}

/* Sekcje */
#panel-lektora section.pl-section {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px #2a3b4b0f;
    padding: 32px 18px;
    margin-bottom: 32px;
    min-height: 180px;
}
.pl-section-box {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 3px 24px rgba(58,116,176,0.10);
    padding: 32px 28px 28px 28px;
    margin-bottom: 38px;
}
.pl-section-title {
    font-family: 'Lato', sans-serif; /* Zmiana na czcionkę Lato */
    font-weight: 700;
    font-size: 1.15em;
    margin-bottom: 18px;
    color: #23344f;
    letter-spacing: 0.5px;
}

/* Akcje i przyciski */
#panel-lektora .pl-action {
    background: #2a3b4b;
    color: #fff;
    border: none;
    border-radius: 18px;
    padding: 10px 26px;
    border: 1.5px solid #2a3b4b;
    font-size: 1em;
    margin: 15px 0;
    box-shadow: 0 2px 8px #2a3b4b0d;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
#panel-lektora .pl-action:hover {
    background: #e9e7e1;
    color: #2a3b4b;
}
#pm-ai-clear {
    color: white !Important;
}
.pl-btn-highlight {
    background: #264c86;
    color: #fff !important;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 14px;
    font-size: 1.15em;
    box-shadow: 0 4px 24px rgba(38,76,134,0.15);
    display: inline-block;
    text-align: center;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.pl-btn-highlight:hover {
    background: #1f3e6b;
    color: #fff !important;
}

/* Tabele */
#panel-lektora table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 18px 0 24px 0;
    background: #f8f7f4;
    border-radius: 14px;
    box-shadow: 0 2px 8px #2a3b4b0f;
}
#panel-lektora th, #panel-lektora td {
    padding: 13px 14px;
    border: none;
    font-size: 1.03em;
}
#panel-lektora th {
    background: #e9e7e1;
    font-weight: 700;
    color: #2a3b4b;
    border-radius: 8px 8px 0 0;
}
#panel-lektora tr:not(:last-child) td {
    border-bottom: 1px solid #edeceb;
}

/* Listy */
#panel-lektora ul { list-style: disc inside; padding-left: 10px; }
#panel-lektora li { margin-bottom: 7px; }
.pl-list { list-style: none; margin: 0; padding: 0; }
.pl-list li { border-bottom: 1px solid #ecf3fa; padding: 10px 0 9px 0; font-size: 1em; }
.pl-list li:last-child { border-bottom: none; }

/* Pola formularzy */
#panel-lektora input,
#panel-lektora select,
#panel-lektora textarea {
    background: #f3f2ee;
    color: #2a3b4b;
    font-size: 1em;
    padding: 9px 14px;
    border: 1px solid #dedede;
    border-radius: 7px;
    margin-bottom: 13px;
    width: 100%;
    font-family: inherit;
    transition: background 0.2s, border 0.2s;
}
#panel-lektora input:focus,
#panel-lektora textarea:focus,
#panel-lektora select:focus {
    outline: none;
    border-color: #2a3b4b;
    background: #e9e7e1;
}
#panel-lektora form label {
    font-weight: 600;
    color: #2a3b4b;
    margin-bottom: 3px;
    display: block;
}

/* Komunikaty */
#panel-lektora .msg-success {
    color: #257a1e;
    background: #eafbe9;
    border-radius: 7px;
    padding: 8px 16px;
    margin: 7px 0 18px;
    display: block;
}
#panel-lektora .msg-error {
    color: #b80000;
    background: #ffebeb;
    border-radius: 7px;
    padding: 8px 16px;
    margin: 7px 0 18px;
    display: block;
}

/* Dashboard i nagłówek powitalny */
.pl-dashboard-container {
    margin-top: 0 !important;
    display: flex;
    gap: 48px;
    align-items: flex-start;
    flex-wrap: wrap;
    padding-bottom: 50px;
    background: #FFFFFF;
    min-height: 90vh;
    font-family: 'Lora', serif, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 46px;
}
.pl-welcome-bar {
    display: flex;
    align-items: center;
    gap: 24px;
    background: #fff;
    padding: 32px 40px 22px 35px;
    font-size: 1.3em;
    font-weight: 700;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 1.5px 20px rgba(67, 98, 175, 0.085);
    color: #23344f;
    margin-bottom: 32px;
}
.pl-avatar {
    background: #264c86;
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    letter-spacing: 1px;
    box-shadow: 0 2px 12px rgba(38,76,134,0.3);
}

/* Karty uczniów */
.pl-student-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 400px;
    overflow-y: auto;
}
.pl-student-card {
    background: #f7fafd;
    padding: 13px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(58,116,176,0.1);
    border: 1px solid #ecf3fa;
    transition: box-shadow .25s;
}
.pl-student-card:hover {
    box-shadow: 0 6px 16px rgba(38,76,134,0.15);
}
.pl-avatar-sm {
    width: 36px;
    height: 36px;
    background: #264c86;
    color: #fff;
    font-weight: 700;
    font-size: 1.1em;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    box-shadow: 0 1.5px 6px rgba(38,76,134,0.2);
}
.pl-student-name {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    color: #21314a;
    flex: 1;
}
.pl-student-card .pl-link {
    text-decoration: none;
    color: #264c86;
    font-weight: 700;
    padding: 6px 22px;
    background: #e7f2fd;
    border-radius: 8px;
    transition: background .2s, color .2s;
    margin-left: 18px;
}
.pl-student-card .pl-link:hover {
    background: #264c86;
    color: #fff;
}

/* Kalendarz i dodatki */
.pl-section-calendar {
    min-width: 320px;
    background: #f8fbff;
    border: 1px solid #e6eff8;
}
.pl-room-booking-day {
    margin-top: 12px;
    color: #3c4371;
    font-size: 1.03em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Menu panelu */
.pl-panel-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
    padding: 14px 20px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 3px 18px rgba(0,0,0,0.05);
}
.pl-panel-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.96em;
    text-decoration: none;
    background: #f5f8fc;
    color: #2a3b4b;
    transition: all 0.2s ease;
}
.pl-panel-menu a:hover {
    background: #e6eef8;
    color: #1b2738;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.pl-panel-menu a.active {
    background: #264c86;
    color: #fff;
    box-shadow: 0 4px 14px rgba(38,76,134,0.35);
}

/* Linki akcji */
.pl-card-actions { display: flex; gap: 10px; }
.pl-link, .pl-link-note, .pl-link-upload, .pl-link-edit {
    text-decoration: none;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.85em;
    white-space: nowrap;
}
.pl-link { background: #e7f2fd; color: #264c86; }
.pl-link:hover { background: #264c86; color: #fff; }
.pl-link-note { background: #fff3cd; color: #856404; }
.pl-link-note:hover { background: #ffe69c; }
.pl-link-upload { background: #e2e3e5; color: #383d41; }
.pl-link-upload:hover { background: #cccdcf; }
.pl-link-edit { background: #d4edda; color: #155724; }
.pl-link-edit:hover { background: #b1dfbb; }

/* Responsywność */
@media (max-width: 1100px) {
    .pl-dashboard-container {
        flex-direction: column;
        gap: 30px;
        margin-top: 40px;
        padding: 16px 0 30px 0;
    }
}
@media (max-width: 950px) {
    .pl-dashboard-container {
        flex-direction: column;
        gap: 26px;
        padding: 30px 2vw 0 2vw;
    }
    .pl-section-calendar {
        min-width: 0 !important;
        width: 100%;
        margin-top: 20px;
    }
}
@media (max-width: 768px) {
    .pl-panel-menu { flex-direction: column; gap: 10px; }
    .pl-panel-menu a { justify-content: center; }
}
@media (max-width: 700px) {
    #panel-lektora { padding: 16px 4px; }
    #panel-lektora .pl-nav { flex-direction: column; gap: 7px; }
    #panel-lektora section.pl-section { padding: 18px 7px; }
    #panel-lektora table, #panel-lektora th, #panel-lektora td {
        font-size: 0.97em;
        word-break: break-word;
    }
}

