.ebbimb-selector {
    margin: 24px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fafafa;
}
.ebbimb-selector h3 { margin: 0 0 6px; font-size: 18px; }
.ebbimb-hint { color: #666; font-size: 13px; margin: 0 0 16px; }

.ebbimb-option { margin-bottom: 12px; }
.ebbimb-option > label { display: flex; gap: 12px; cursor: pointer; align-items: flex-start; }
.ebbimb-option input[type="radio"] { margin-top: 18px; flex-shrink: 0; }

.ebbimb-card {
    flex: 1;
    border: 2px solid #ddd;
    border-radius: 6px;
    padding: 14px 16px;
    background: #fff;
    transition: border-color .15s, background .15s;
}
.ebbimb-option.ebbimb-selected .ebbimb-card {
    border-color: #0073aa;
    background: #f0f7ff;
}
.ebbimb-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 6px;
}
.ebbimb-card-top-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}
.ebbimb-card-name { font-weight: 700; font-size: 15px; }

.ebbimb-status { font-size: 12px; padding: 3px 10px; border-radius: 12px; font-weight: 600; }
.ebbimb-confirmed { background: #d1e7dd; color: #0a3622; }
.ebbimb-open      { background: #fff3cd; color: #664d03; }

.ebbimb-card-info { display: flex; flex-direction: column; gap: 5px; font-size: 14px; color: #444; }

.ebbimb-front-code {
    font-family: monospace;
    font-size: 11px;
    letter-spacing: 0.5px;
    color: #555;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 2px 6px;
}

.ebbimb-vagas-ok   { color: #0a3622; font-weight: 500; }
.ebbimb-started-tag { font-size: 12px; color: #664d03; margin-left: 4px; }

.ebbimb-details { margin-top: 12px; font-size: 13px; }
.ebbimb-details summary { cursor: pointer; color: #0073aa; font-weight: 500; }
.ebbimb-sched-list { margin: 8px 0 0; padding-left: 18px; max-height: 220px; overflow-y: auto; }
.ebbimb-sched-list li { padding: 2px 0; }

.ebbimb-no-turmas {
    padding: 14px 18px;
    background: #fff3cd;
    border: 1px solid #ffecb5;
    border-radius: 4px;
    color: #664d03;
    margin: 16px 0;
}

/* Info box */
.ebbimb-info-box {
    margin: 16px 0 24px;
    padding: 16px 20px;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    background: #f6f8fa;
    font-size: 14px;
}
.ebbimb-info-list {
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}
.ebbimb-info-list li {
    padding: 6px 0;
    border-bottom: 1px solid #e6eaf0;
    line-height: 1.5;
}
.ebbimb-info-list li:last-child { border-bottom: none; }

.ebbimb-propose-wrap { margin-top: 6px; }
.ebbimb-propose-lead {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    line-height: 1.5;
}

/* Box "Me avise" (sem turmas criadas) */
.ebbimb-avise-box {
    margin: 24px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fafafa;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    overflow: hidden;
}
.ebbimb-avise-section {
    padding: 20px;
}
.ebbimb-avise-section p { margin: 0 0 14px; }
.ebbimb-avise-divider {
    border-top: 1px solid #ddd;
}

/* Modal overlay — proposta e aviso */
.ebbimb-notify-overlay,
.ebbimb-modal-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

body.ebbimb-modal-open { overflow: hidden; }

/* Modal box */
.ebbimb-modal {
    position: relative;
    background: #fff;
    border-radius: 8px;
    padding: 28px 32px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,.22);
    box-sizing: border-box;
}

.ebbimb-modal-title {
    margin: 0 0 4px;
    font-size: 18px;
}
.ebbimb-modal-subtitle {
    margin: 0 0 18px;
    font-size: 13px;
    color: #555;
}

/* Close button (×) */
.ebbimb-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #666;
    padding: 4px 6px;
}
.ebbimb-modal-close:hover { color: #000; }

/* Form inside modal */
.ebbimb-propose-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}
.ebbimb-propose-fields label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}
.ebbimb-propose-fields input,
.ebbimb-propose-fields textarea {
    font-size: 14px;
    padding: 7px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-weight: 400;
    width: 100%;
    box-sizing: border-box;
}
.ebbimb-propose-fields textarea { resize: vertical; }

.ebbimb-propose-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.ebbimb-propose-msg {
    font-size: 13px;
    font-weight: 600;
}

/* Mobile */
@media (max-width: 480px) {
    .ebbimb-modal { padding: 20px 18px; }
}
