﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 220px;
    background: #1e1e2f;
    color: #fff;
    padding-top: 60px;
    transition: transform 0.3s ease;
    z-index: 1000;
}

    .sidebar a {
        color: #fff;
        text-decoration: none;
    }

    .sidebar .nav-link {
        color: #fff;
        padding: 12px 15px;
        border-radius: 0;
        transition: background 0.2s, padding-left 0.2s;
    }

        .sidebar .nav-link:hover {
            background: #2c2c3e;
            padding-left: 20px;
        }

        .sidebar .nav-link.active {
            background: #258cfb;
            font-weight: bold;
        }

    .sidebar hr {
        border-color: rgba(255, 255, 255, 0.2);
    }

.content {
    margin-left: 220px;
    padding: 80px 20px 20px;
    transition: margin-left 0.3s ease;
}
body.no-sidebar .content {
    margin-left: 0;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #fff;
    display: flex;
    align-items: center;
    padding: 0 15px;
    border-bottom: 1px solid #ddd;
    z-index: 1100;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    margin-right: 10px;
}

@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
        width: 200px;
    }

        .sidebar.active {
            transform: translateX(0);
        }

    .content {
        margin-left: 0;
    }

    .menu-toggle {
        display: block;
    }
}


@media (max-width: 768px) {
    #calendar {
        font-size: 12px;
    }

    .fc-toolbar.fc-header-toolbar {
        flex-direction: column;
        gap: 5px;
    }

    .fc-toolbar-chunk {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .modal-dialog {
        max-width: 95%;
        margin: 10px auto;
    }

    .modal-body {
        padding: 10px;
    }

    .modal-footer {
        flex-wrap: wrap;
        gap: 5px;
    }

    .time-inputs {
        display: flex;
        flex-direction: column;
    }

    .form-control,
    .form-select,
    textarea {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .btn-group-sm .btn {
        flex: 1 1 auto;
        font-size: 14px;
    }

    .modal-dialog {
        max-width: 95%;
        margin: 10px auto;
    }

    .modal-body {
        font-size: 14px;
    }
}

.btn-toggle-nav a {
    padding: 5px 15px;
    display: block;
    transition: background 0.2s;
}

.btn-toggle-nav a:hover {
    background: #2c2c3e;
    padding-left: 25px;
}

.status-potential {
    background-color: #e3f2fd; /* блакитний */
}

.status-presentation {
    background-color: #f3e5f5; /* фіолетовий */
}

.status-quote {
    background-color: #e0f7fa; /* світло-бірюзовий */
}

.status-nointerest {
    background-color: #ffebee; /* світло-червоний */
}

.status-someanother {
    background-color: #fff3cd; /* світло-жовтий */
}

.status-test {
    background-color: #e8f5e9; /* світло-зелений */
}