.courses-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.courses-card {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 34px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.55);
    transition: 0.25s ease;
}

.courses-card:hover {
    background: #131313;
    border-color: rgba(255, 255, 255, 0.10);
}

.courses-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.courses-title {
    color: #fff;
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.courses-btn-primary {
    background: #C62828;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
    box-shadow: 0 0 0 rgba(0,0,0,0);
}

.courses-btn-primary:hover {
    background: #E53935;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(230, 57, 53, 0.35);
}

.courses-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 15px;
}

.courses-table th {
    text-align: left;
    padding: 14px 10px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: #bbb;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.7px;
}

.courses-table td {
    padding: 14px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: #e5e5e5;
}

.courses-table tr:hover td {
    background: rgba(255,255,255,0.04);
}

.courses-actions {
    display: flex;
    gap: 10px;
}

.courses-btn-edit,
.courses-btn-delete {
    padding: 8px 14px;
    font-size: 13.5px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: 0.25s ease;
}

.courses-btn-edit {
    background: #1565C0;
    color: #fff;
}

.courses-btn-edit:hover {
    background: #1E88E5;
    transform: translateY(-1px);
}

.courses-btn-delete {
    background: #8E0000;
    color: #fff;
}

.courses-btn-delete:hover {
    background: #B71C1C;
    transform: translateY(-1px);
}

.courses-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 22px;
}

.courses-label {
    font-weight: 600;
    margin-bottom: 6px;
    color: #e0e0e0;
    font-size: 14px;
}

.courses-input,
.courses-textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    background: #1b1b1b;
    font-size: 15px;
    color: #fff;
    transition: 0.25s ease;
}

.courses-input:focus,
.courses-textarea:focus {
    border-color: #C62828;
    background: #101010;
    box-shadow: 0 0 0 3px rgba(198,40,40,0.28);
    outline: none;
}

.courses-textarea {
    min-height: 160px;
}

.courses-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.courses-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #C62828;
}

.courses-gallery {
    border: 2px dashed rgba(255,255,255,0.14);
    border-radius: 14px;
    padding: 32px;
    text-align: center;
    color: #aaa;
    background: rgba(255,255,255,0.03);
    transition: 0.35s ease;
}

.courses-gallery:hover {
    border-color: #C62828;
    background: rgba(198,40,40,0.08);
    color: #fff;
    transform: translateY(-2px);
}

.courses-upload {
    margin-top: 10px;
}

.courses-form-buttons {
    margin-top: 35px;
    display: flex;
    justify-content: flex-end;
    gap: 14px;
}

.courses-btn-cancel {
    background: #333;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.12);
    color: #ddd;
    cursor: pointer;
    transition: 0.25s ease;
}

.courses-btn-cancel:hover {
    background: #444;
}

.courses-btn-save {
    background: #C62828;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
}

.courses-btn-save:hover {
    background: #E53935;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(230, 57, 53, 0.30);
}

/*User Dashboard*/
.titulo-ola {
    color: white;
    font-size: 46px;
    font-weight: 700;
}

.top-section-dashboard-cursos {
    margin: 2% 5%;
}

.search-box input {
    width: 260px;
    border-radius: 10px !important;
    color: white;
}

.caixa-cursos {
    background: #1a1a1a;
    border-radius: 25px;
    padding: 40px;
    margin: 40px auto;
    width: 92%;
}

.titulo-cursos {
    color: white;
    font-size: 26px;
    font-weight: 600;
}

.titulo-coluna {
    font-size: 18px;
    font-weight: 700;
    padding: 8px 18px;
    color: white;
    display: inline-flex;
    align-items: center;
    border-radius: 10px;
    margin-bottom: 25px;
}

.titulo-coluna .badge-num {
    background: rgba(255,255,255,0.25);
    padding: 4px 10px;
    margin-left: 10px;
    border-radius: 8px;
    font-weight: 700;
}

.azul { background: #3b4ba5; }
.vermelho { background: #b3133b; }
.verde { background: #2c683f; }

.coluna-divider {
    width: 1px;
    background: rgba(255,255,255,0.2);
    margin: 0 20px;
    padding: 0;
}

.cursos-scroll {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 6px;
}

.cursos-scroll::-webkit-scrollbar {
    width: 6px;
}

.cursos-scroll::-webkit-scrollbar-thumb {
    background: #666;
    border-radius: 3px;
}

.curso-card {
    min-width: 420px;
    background-color: #000000;
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 10px;
    margin-bottom: 25px;
    border-radius: 15px;
    margin-right: 10px;
}

.curso-card .thumb {
    width: 130px;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
}

.curso-dashboard-nome-curso {
    font-size: 16px;
}

.curso-dashboard-professor {
    font-size: 14px;
    color: #868686;
}

.curso-card-content {
    margin-right: 10px;   
}

.card-titulo {
    font-size: 16px;
    font-weight: 600;
}

.card-sub {
    font-size: 14px;
    opacity: 0.7;
}

.badge-progresso {
    background: #444;
    padding: 3px 6px;
    margin-top: 4px;
    display: inline-block;
    border-radius: 4px;
    font-size: 12px;
}

/*Favoritos*/
.favorite-star {
    position: absolute;
    top: 55px;
    right: 8px;
    cursor: pointer;
    font-size: 22px;
    z-index: 10;
}

.favorite-star i {
    transition: color .2s ease, transform .2s ease;
}

.favorite-star:hover i {
    transform: scale(1.1);
}

.curso-card {
    position: relative;
}

.bi-star-fill {
    color: #FEEE91;
}

/*Filtros*/
.filtros-wrapper {
    background-color: #000000;
    backdrop-filter: blur(8px);
    border: 1px solid #FFFFFF0D;
}

.filtros-wrapper label {
    font-weight: 500;
    opacity: .9;
}

#btnFiltrosAvancados.collapsed i {
    transform: rotate(0deg);
    transition: .3s;
}

#btnFiltrosAvancados:not(.collapsed) i {
    transform: rotate(90deg);
    transition: .3s;
}

.btn-outline-warning:hover i.bi-star {
    transform: scale(1.15);
    transition: .2s;
}

.filtro-input::placeholder {
    color: #868686;
}

.filtro-input, .filtro-select {
    border: 1px solid #FFFFFF0D;
    background-color: #303030;
    border-radius: 100px;
    transition: .2s;
    color: #868686;
}

.filtro-input:focus, .filtro-select:focus {
    border-color: #ffc107 !important;
    box-shadow: 0 0 0 0.25rem rgba(255,193,7,0.25);
}

.btn-filtros-submit {
    background-color: #DD1D25;
    border-radius: 100px;   
}

.filtro-input-toggle {
    border-radius: 100px;   
}



