

/* Start:/bitrix/components/badbro/jobs.calendar/templates/.default/style.css?178522232613095*/
/* главный контейнер */
.recruiter-container {
    max-width: 100%;
    width: 100%;
    overflow: hidden;
}

/* двойная колонка: календарь + слоты */
.two-columns {
    display: flex;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* левая часть: календарь */
.calendar-section {
    background: #ffffff;
    overflow: hidden;
    min-width: 500px;
    padding: 16px;
    border-right: 1px solid #D5DDDC;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid #D5DDDC;
}

.month-year-box {
    background: #D5DDDC;
    padding: 6px 20px;
    font-weight: 600;
    font-size: 20px;
    color: #115056;
}

.nav-btns {
    display: flex;
    gap: 10px;
}

.nav-btn {
    background: #D5DDDC;
    border: none;
    width: 42px;
    height: 42px;
    cursor: pointer;
    transition: 0.2s;
    color: #115056;
}

.nav-btn:hover {
    background: #F6D2B6;
}

.today-btn {
    background: #E95C1F;
    color: white;
    border: none;
    padding: 0 18px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.today-btn:hover {
    background: #F18A49;
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    color: #115056;
    margin-bottom: 12px;
    font-size: 14px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.day-cell {
    aspect-ratio: 1 / 1;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.15s ease;
    border: 2px solid #D5DDDC;
    padding-top: 6px;
    position: relative;
}

.day-cell.today {
    color: #ffffff;
}

.day-cell:hover {
    background: #D5DDDC;
    border-color: #D5DDDC;
}

.day-number {
    width: 30px;
    height: 30px;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.today .day-number {
    background: #115056;
    color: white;
    font-weight: bold;
}
.selected-day.today .day-number {
    background: #E95C1F;
    color: #ffffff;
}
.weekend-day{
    background: #F6D2B6 !important;
    border: 2px solid #F6D2B6 !important;
}

.selected-day.weekend-day{
    background: #F6D2B6 !important;
    border: 2px solid #E95C1F !important;
}

.selected-day {
    background: #D5DDDC !important;
    border: 2px solid #E95C1F !important;
}

.selected-day .day-number {
    color: #E95C1F;
}
.other-month {
    background: #D5DDDC;
    color: #000000;
    opacity: 0.1;
}

.before-today {
    background: #D5DDDC;
    color: #000000;
    opacity: 0.4;
}

.slot-indicator {
    width: 6px;
    height: 6px;
    background-color: #e95c1f;
    border-radius: 10px;
    margin-top: 6px;
    margin-bottom: 6px;
    margin-left: 3px;
    margin-right: 3px;
}
.slot-indicator-r {
    width: 6px;
    height: 6px;
    background-color: #44B8B0;
    border-radius: 10px;
    margin-top: 6px;
    margin-bottom: 6px;
    margin-left: 3px;
    margin-right: 3px;
}
.slot-indicator-unconfirmed {
    width: 6px;
    height: 6px;
    background-color: #af0000;
    border-radius: 10px;
    margin-top: 6px;
    margin-bottom: 6px;
    margin-left: 3px;
    margin-right: 3px;
}

/* правая часть: список слотов */
.slots-section {
    position: relative;
    flex: 1;
    background: white;
    padding: 16px;
    padding-bottom: 70px;
    display: flex;
    flex-direction: column;
    min-width: 200px;
    width: 300px;
    max-width: 300px;
}

.selected-info {
    background: #D5DDDC;
    padding: 7px 12px;
    margin-bottom: 12px;
    text-align: center;
}

.selected-date-big {
    font-weight: 600;
    font-size: 20px;
    color: #115056;
}

.free-slots-title {
    font-weight: 600;
    margin: 10px 0;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.recruiter-controls {
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.recruiter-btn {
    background: #E95C1F;
    border: none;
    color: white;
    padding: 8px 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    font-size: 14px;
}

.recruiter-btn:hover {
    background: #F18A49;
}
.slots-list {
    max-height: 280px;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 6px;
}

.slot-card {
    background: #D5DDDC;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.slot-time.timebusy {
    opacity: 0.4;
}
.slot-time.timebusy.timeunconfirmed {
    opacity: 0.8;
    background: #af0000;
    color: #ffffff;
}
.slot-time.timebusy.timeconfirmed {
    opacity: 0.8;
    background: #44B8B0;
    color: #ffffff;
}

.slot-time {
    font-weight: 700;
    font-size: 16px;
    background: #D5DDDC;
    padding: 4px 12px;
    color: #115056;
    width: 80px;
    text-align: center;
}
.slot-time:hover {
    background: #E95C1F;
    color: #ffffff;
}

.no-slots {
    text-align: center;
    padding: 24px 12px;
    width: 100%;
    background: #D5DDDC;
    color: #115056;
    font-style: italic;
}

/* Unconfirmed Meetings Section */
.bbjc-unconfirmed-section {
    width: 640px;
    min-width: 280px;
    background: #ffffff;
    border-left: 2px solid #D5DDDC;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.bbjc-unconfirmed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #D5DDDC;
}

.bbjc-unconfirmed-header h3 {
    margin: 0;
    font-size: 16px;
    color: #1e3c46;
    font-weight: 600;
}

.bbjc-unconfirmed-count {
    background: #E95C1F;
    color: white;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.bbjc-unconfirmed-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    max-height: 400px;
    overflow-y: auto;
}

.bbjc-unconfirmed-item {
    background: white;
    border: 1px solid #e0e0e0;
    padding: 12px;
    gap: 16px;
    transition: all 0.2s ease;
    display: flex;
    align-items: start;
    justify-content: space-between;
}

.bbjc-unconfirmed-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-color: #E95C1F;
}

.bbjc-unconfirmed-date {
    font-size: 14px;
    font-weight: 600;
    color: #1e3c46;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    min-width: 70px;
}

.bbjc-unconfirmed-time {
    background: #D5DDDC;
    padding: 2px 8px;
    font-size: 12px;
    margin-top: 4px;
}

.bbjc-unconfirmed-candidate {
    flex: 1;
}

.bbjc-unconfirmed-candidate strong {
    font-size: 14px;
    color: #072431;
    display: block;
}

.bbjc-unconfirmed-contacts {
    font-size: 14px;
    color: #666;
}

.bbjc-unconfirmed-contacts a {
    color: #1e3c46;
    text-decoration: none;
}

.bbjc-unconfirmed-contacts a:hover {
    text-decoration: underline;
}

.bbjc-unconfirmed-phone {
    display: block;
}

.bbjc-unconfirmed-actions {
    display: flex;
}

.bbjc-confirm-btn {
    background: #E95C1F;
    border: none;
    padding: 6px 12px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.bbjc-confirm-btn:hover {
    background: #F18A49;
}

.bbjc-no-unconfirmed {
    text-align: center;
    padding: 30px 16px;
    color: #999;
    font-style: italic;
    background: white;
    border: 1px dashed #ddd;
    border-radius: 8px;
}

/* форма записи (модальное окно) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: 0.2s;
}

.modal-overlay.active {
    visibility: visible;
    opacity: 1;
}

.modal-card {
    background: white;
    width: 360px;
    max-width: 100%;
    padding: 24px;
    box-shadow: 0 30px 40px rgba(0,0,0,0.3);
    text-align: center;
}

.modal-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #115056;
}

.modal-card input {
    width: 100%;
    padding: 8px 16px;
    margin: 8px 0;
    border: 1px solid #D5DDDC;
    font-size: 16px;
    outline: none;
}
.modal-card textarea{
    min-height: 100px;
    padding: 8px 16px;
    margin: 8px 0;
    border: 1px solid #D5DDDC;
    font-size: 16px;
    outline: none;
    resize: none;
    width: 100%;
    box-sizing: border-box;
}

.modal-card button {
    background: #E95C1F;
    border: none;
    padding: 9px 16px;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.modal-card button:hover {
    background: #F18A49;
}

.success-msg {
    background: #d9f0ec;
    padding: 12px;
    margin-top: 16px;
    color: #1e6f5c;
}

/* модальное окно для рекрутера */
.recruiter-modal-card {
    max-width: 360px;
}

.time-slots-input {
    margin: 8px 0;
}

.time-slots-input label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #115056;
}

.time-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.time-input-group input {
    flex: 1;
    margin: 0;
}

.add-time-btn {
    background: #115056;
    color: white;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
}

.time-tag {
    display: inline-block;
    background: #D5DDDC;
    padding: 4px 12px;
    font-size: 14px;
}

.remove-time {
    cursor: pointer;
    margin-left: 8px;
    color: #d32f2f;
    font-weight: bold;
}
.genetate-link{
    padding: 8px 16px;
    cursor: pointer;
    background: #115056;
    color: #ffffff;
    display: inline-block;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1200px) {
    .bbjc-unconfirmed-section {
        width: 280px;
        min-width: 240px;
    }
}

@media (max-width: 992px) {
    .two-columns {
        flex-direction: column;
    }

    .bbjc-unconfirmed-section {
        width: 100%;
        border-left: none;
        border-top: 2px solid #D5DDDC;
        padding: 16px;
    }

    .calendar-section {
        min-width: 435px;
        border-right: none;
        border-bottom: 1px solid #D5DDDC;
    }

    .slots-section {
        min-width: auto;
        padding-bottom: 64px;
    }

    .slot-indicator{
        margin-top: 3px;
        margin-bottom: 3px;
    }

    .slot-indicator-r{
        margin-top: 3px;
        margin-bottom: 3px;
    }
    .slot-indicator-unconfirmed{
        margin-top: 3px;
        margin-bottom: 3px;
    }
}

@media (max-width: 767px) {
    .two-columns {
        flex-direction: column;
    }
    .slots-section,
    .calendar-section{
        padding: 12px
    }
    .slots-section{
        padding-bottom: 64px;
    }
    .recruiter-controls{
        left: 12px;
        right: 12px;
    }
    .calendar-grid{
        gap: 3px;
    }
    .day-cell{
        padding-top: 3px;
        font-size: 12px;
    }
    .day-number{
        height: 24px;
        width: 24px;
    }
}

@media (max-width: 600px) {
    .bbjc-unconfirmed-item {
        flex-wrap: wrap;
        gap: 8px;
    }

    .bbjc-unconfirmed-date {
        flex-direction: row;
        gap: 8px;
        align-items: center;
        width: 100%;
    }

    .bbjc-unconfirmed-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 550px) {
    .calendar-section{
        min-width: 100%;
    }
}

@media (max-width: 425px) {
    .day-cell{
        padding-top: 3px;
        font-size: 12px;
    }
    .day-number{
        height: 20px;
        width: 20px;
    }

}

@media (max-width: 360px) {
    .day-cell{
        padding-top: 1px;
    }
    .calendar-grid {
        gap: 1px;
    }
    .slot-indicator{
        margin: 1px;
    }

    .slot-indicator-r{
        margin: 1px;
    }
    .slot-indicator-unconfirmed{
        margin: 1px;
    }
}
/* End */
/* /bitrix/components/badbro/jobs.calendar/templates/.default/style.css?178522232613095 */
