

/* Start:/styles.css?174928500625772*/
@media (max-width: 767px) {
    .button {
        font-size: 1rem !important;
    }
}
.link {
	color: #007bff;
    font-size: 1rem;
    transition: color 0.3s;
	text-decoration: underline !important;
}
.flex-col
 {
    align-items: anchor-center;
}
.plan {
	text-align: center;
}
.start {
	justify-self: anchor-center;
}
.start-button {
    padding: 5px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.3rem;
	margin-bottom: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.start-button:hover {
    background-color: #0056b3;
}
.px-4 {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

.center {
	justify-items: anchor-center;
}
.max-w-4xl {
    max-width: 100% !important;
}
.procedures-form hr {
	border-width: medium;
}
.procedures-form .remove-selection {
    display: inline-block;
    padding: 5px 10px;
    margin: 10px;
    background-color: #6c757d;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
}
.procedure-search {
    font-size: large;
    text-align: center;
    border-radius: 50px;
    height: 50px;
    width: 800px;
    border: 2px solid #ccc;
    padding: 8px;
}

.ui-widget {
    font-size: 2em !important;
}

.ui-menu-item {
    margin: 0;
    font-size: large !important;
    max-width: 700px;
}
.debug-info {
	display: none;
}
.try-button {
    padding: 5px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.try-button:hover {
    background-color: #0056b3;
}
/* ==========================================================================
   Страница генерации плана ()
   ========================================================================== */

/* ==========================================================================
   Страница генерации плана ()
   ========================================================================== */

/* ==========================================================================
   Страница генерации плана (/кабинет/index.php)
   ========================================================================== */
        .tab-content {
            display: none;
        }
        .tab-content.active {
            display: block;
        }
        .treatment-plan:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        }
        .price-item:hover {
            background-color: #f0f9ff;
        }
        @media (max-width: 767px) {
            .hide-mobile {
                display: none !important;
            }
			.flex-col {
				align-items: anchor-center;
			}
        }
        .pagination a, .pagination span {
            margin: 0 5px;
            text-decoration: none;
            color: #007bff;
        }
        .pagination .current {
            font-weight: bold;
            color: #000;
        }
        .table-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        .price-table {
            width: 100%;
            border-collapse: collapse;
            background-color: #fff;
        }
        .price-table th, .price-table td {
            border: 1px solid #e0e0e0;
            padding: 8px;
            text-align: left;
        }
        .price-table th {
            background-color: #f5f5f5;
            font-weight: bold;
        }
        .price-table .price-column, .price-table .price-column-header {
            text-align: center;
        }
        .action-buttons a {
            margin-right: 10px;
            text-decoration: none;
            color: #007bff;
        }
        .action-buttons a:hover {
            text-decoration: underline;
        }
        .alert {
            color: #721c24;
            background-color: #f8d7da;
            padding: 10px;
            border-radius: 5px;
            margin-bottom: 15px;
        }
        .add-link {
            display: inline-block;
            margin-bottom: 15px;
            text-decoration: none;
            color: #007bff;
        }
        .add-link:hover {
            text-decoration: underline;
        }
        .filter-container {
            margin-bottom: 15px;
        }
        .filter-container select {
            padding: 8px;
            border: 1px solid #e0e0e0;
            border-radius: 4px;
            font-size: 16px;
        }
        .table-wrapper {
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }
        #registration-info, #registration-info .bg-white {
            background: #fff !important;
            background-image: none !important;
        }
        
		
		
/* ==========================================================================
   Страница генерации плана (/результат/index.php)
   ========================================================================== */

        
        body {
            font-family: Open Sans, sans-serif;
            background-color: #f8fafc;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
        }
        .treatment-plan {
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            padding: 20px;
        }
        table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;
        }
        th, td {
            border: 1px solid #e0e0e0;
            padding: 8px;
            text-align: left;
        }
        th {
            background-color: #f5f5f5;
            font-weight: bold;
        }
		

/* ==========================================================================
   Страница Зачем? (/зачем/index.php)
   ========================================================================== */

.why {
	margin: 20px auto;
    font-family: Open Sans, sans-serif;
    font-size: 1.1rem;
    text-align: justify;
    max-width: 1000px;
    padding-left: 15px;
    padding-right: 15px;
}

.why h2 {
    text-align: center;
    color: #333;
    font-size: 1.8rem;
}

.why p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.why .buttons {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 50px;
}

.why .button {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #fff;
    background-color: #007bff;
    border-radius: 10px;
    font-size: 1.5rem;
}

.why .button:hover {
    background-color: #0056b3;
}

.why .button.secondary {
    background-color: #6c757d;
}

.why .button.secondary:hover {
    background-color: #5a6268;
}

/* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 2000;
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            background-color: white;
            padding: 20px;
            border-radius: 5px;
            text-align: center;
            max-width: 400px;
            width: 90%;
        }

        .modal-buttons {
            margin-top: 20px;
            display: flex;
            justify-content: space-around;
        }

        .modal-buttons button {
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }

        .modal-buttons .logout-btn {
            background-color: #dc3545;
            color: white;
        }

        .modal-buttons .close-btn {
            background-color: #6c757d;
            color: white;
        }
/* Sticky Header */
        .header {
            position: sticky;
            top: 0;
            background-color: #2c3e50;
            color: white;
            text-align: center;
            padding: 15px 0;
            z-index: 1000;
            font-size: 1.2em;
        }
.footer-links {
	display: flex;
    justify-content: center;
    gap: 30px;
    height: 50px;
    align-items: anchor-center;
        }
.footer-links a {
            text-decoration: none;
            color: #ffffff;
            font-size: 1.3em;
        }

        .footer-links a:hover {
            color: #007bff;
        }
/* ==========================================================================
   Registration Page Styles
   ========================================================================== */

.register-container {

}

.register-form {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 40px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.register-title {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 600;
}

.alert {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.alert p {
    margin: 0;
}

.register-success, .register-info {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-align: center;
}

.register-form-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-label {
    font-size: 1rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-label .starrequired {
    color: #721c24;
    font-size: 1rem;
    margin-left: 4px;
}

.form-input {
    padding: 12px;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: #007bff;
    outline: none;
}

.captcha-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.captcha-image {
    display: flex;
    justify-content: center;
}

.secure-note {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.8rem;
    color: #333;
}

.secure-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('/bitrix/images/main/lock.png') no-repeat center;
    vertical-align: middle;
    margin-right: 4px;
}

.secure-icon-unlock {
    background: url('/bitrix/images/main/unlock.png') no-repeat center;
}

.register-button {
    padding: 12px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.register-button:hover {
    background-color: #0056b3;
}

.register-info {
    margin-top: 20px;
    background: none;
    text-align: left;
}

.register-info p {
    font-size: 0.9rem;
    color: #333;
}

/* ==========================================================================
   Media Queries for Responsive Design
   ========================================================================== */

@media (max-width: 600px) {
    .register-form {
        padding: 20px;
        max-width: 90%;
    }

    .register-title {
        font-size: 1.5rem;
    }

    .form-input {
        padding: 10px;
        font-size: 0.9rem;
    }

    .register-button {
        padding: 10px;
        font-size: 1.5rem;
    }

    .captcha-image img {
        width: 150px;
        height: 34px;
    }

    .form-label {
        font-size: 0.9rem;
    }

    .register-info p {
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   Authorization Page Styles
   ========================================================================== */

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url(/img/image.jpg) center/cover fixed;
    padding: 20px;
    box-sizing: border-box;
}

.auth-form {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 40px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.auth-title {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 600;
}

.alert {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.alert p {
    margin: 0;
}

.auth-success {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-align: center;
}

.auth-form-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-label {
    font-size: 1rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-input {
    padding: 12px;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: #007bff;
    outline: none;
}

.captcha-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.captcha-image {
    display: flex;
    justify-content: center;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #333;
    cursor: pointer;
}

.checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 23px;
    height: 23px;
    border: 2px solid #ccc;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    position: relative;
    margin-right: 10px;
}

.checkbox:checked {
    background-color: #2196F3;
    border-color: #2196F3;
}

.checkbox:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    font-size: 1rem;
}

.auth-button {
    padding: 5px 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.auth-button:hover {
    background-color: #0056b3;
}

.auth-links {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
	align-items: anchor-center;
}

.auth-link {
    color: #007bff;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.auth-link:hover {
    color: #0056b3;
}

/* ==========================================================================
   Media Queries for Responsive Design
   ========================================================================== */

@media (max-width: 600px) {
    .auth-form {
        padding: 20px;
        max-width: 90%;
    }

    .auth-title {
        font-size: 1.5rem;
    }

    .form-input {
        padding: 10px;
        font-size: 0.9rem;
    }

    .auth-button {
        padding: 10px;
        font-size: 1.5rem;
    }

    .auth-links {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .captcha-image img {
        width: 150px;
        height: 34px;
    }

    .checkbox-label {
        font-size: 0.9rem;
    }

    .checkbox {
        width: 20px;
        height: 20px;
    }

    .checkbox:checked::after {
        left: 4px;
        top: 0;
        width: 5px;
        height: 10px;
    }
}
/* ==========================================================================
   Общие стили (применяются ко всем страницам)
   ========================================================================== */

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: Open Sans, sans-serif;
    line-height: 1.6;
    color: #333;
}

.footer {
    background-color: #1345b2;
    color: #fff;
    text-align: center;
    padding: 0;
    bottom: 0;
    width: 100%;
    position: fixed;
}

.footer h2 {
    margin: 0;
    font-size: 1.5rem;
    color: white;
    font-weight: 200;
}

a:-webkit-any-link {

    cursor: pointer;
    text-decoration: none;
}

/* ==========================================================================
   Главная страница (/index.php)
   ========================================================================== */

.page-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url(/img/image.jpg) center/cover fixed;
    padding: 20px;
    box-sizing: border-box;
    width: 100vw;
    left: 0;
    right: 0;
}

.content {
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 20px;
    background: rgba(0,0,0,0.5);
    border-radius: 10px;
    margin-top: 500px;
}

.content p {
    font-size: 3em;
    line-height: 1.6;
    margin-bottom: 10px;
    margin-top: 10px;
}

.mainpage {
    color: white;
    font-size: 2rem;
}

/* ==========================================================================
   Страница выбора зубов (/teeth-selection/index.php)
   ========================================================================== */

.teeth-selection {
    max-width: 1000px;
    text-align: center;
    font-family: Arial, sans-serif;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.teeth-selection h1 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 0;
    margin-top: 0;
}

.teeth-grid {
    display: grid;
    gap: 50px;
    padding: 20px;
    justify-items: center;
    width: 100%;

}

.teeth-grid .tooth {
    width: 60px;
    height: 60px;
    border: 4px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 2rem;
    font-weight: bold;
    color: #5a6268;
    background-color: #fff;
}

.teeth-grid .tooth.selected {
    background-color: #d4edda;
}

.teeth-grid .tooth:hover {
    background-color: #e9ecef;
}

.jaws-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.jaw {
    width: 290px;
    height: 50px;
    border: 2px solid #ccc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
	font-size: 2rem;
    font-weight: bold;
	color: #5a6268;
}

.jaw.all-teeth {
    width: 300px;
    margin-bottom: 20px;
}

.jaw.selected {
    background-color: #d4edda;
}

#next {
    display: block;
    margin: 0 auto;
    padding: 5px 20px;
    background-color: #2563eb;
    color: #fff;
    border: none;
    border-radius: 2.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    margin-top: 10px;
    margin-bottom: 100px;
}

#next:hover {
    background-color: #0056b3;
}

/* ==========================================================================
   Страница выбора процедур (/выбор-процедур/index.php)
   ========================================================================== */

.procedures-form {
    max-width: 800px;
    margin: 20px auto;
    font-family: Open Sans, sans-serif;
}

.procedures-form h1 {
    font-size: 2rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
}

.procedures-form h2 {
    font-size: 1.3rem;
    color: #ff0000;
    margin: 20px 0 10px;
	justify-self: center;
}

.procedures-form .procedure-group {
    margin-left: 20px;
    margin-bottom: 20px;
}

.procedures-form label {
    display: block;
    margin: 10px 0;
    font-size: 1.2rem;
}

.procedures-form .buttons {
    text-align: center;
    margin-top: 50px;
}

.procedures-form .button {
    display: inline-block;
    padding: 5px 20px;
    margin: 0 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 2.5rem;
    font-size: 1.5rem;
    cursor: pointer;
	margin-top: 50px;
    margin-bottom: 50px;
}

.procedures-form .button:hover {
    background-color: #0056b3;
}

.button.back {
    background-color: #6c757d;
}

.button.back:hover {
    background-color: #5a6268;
}

.button.delete {
    background-color: #dc2626;
}

.button.delete:hover {
    background-color: #fb0000;
}



.search-container {
    text-align: center;
}

.input_search {
    font-size: large;
    text-align: center;
    border-radius: 50px;
    height: 50px;
    width: 800px;
    border: 2px solid #ccc;
    padding: 8px;
}

.ui-widget {
    font-size: 2em !important;
}

.ui-menu-item {
    margin: 0;
    font-size: large !important;
    max-width: 800px;
}

.checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 23px;
    height: 23px;
    border: 2px solid #ccc;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    position: relative;
    margin-right: 10px;
    margin-bottom: -3px;
}

.checkbox:checked {
    background-color: #2196F3;
    border-color: #2196F3;
}

.checkbox:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* ==========================================================================
   Страница генерации плана (/generate/index.php)
   ========================================================================== */

.treatment-plan {

}

.treatment-plan h2 {
    text-align: center;
    color: #333;
    font-size: 1.5rem;
}

.treatment-plan p {
    font-size: 1.1rem;
}

.treatment-plan table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 1rem;
}

.treatment-plan th, .treatment-plan td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.treatment-plan th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.treatment-plan .buttons {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 50px;
}

.button {
    display: inline-block;
    padding: 8px 20px;
    margin: 0 5px;
    text-decoration: none;
    color: #fff;
    background-color: #007bff;
    border-radius: 25px;
    font-size: 1.5rem;
}

.treatment-plan .button:hover {
    background-color: #0056b3;
}

.treatment-plan .button.secondary {
    background-color: #6c757d;
}

.treatment-plan .button.secondary:hover {
    background-color: #5a6268;
}

.discount-block {
    margin-bottom: 20px;
}

.discount-block h2 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: #333;
}

.discount-fields {
    display: flex;
    gap: 20px;
    justify-content: center;
    scale: 1.2;
    margin-bottom: 50px;
    margin-top: 30px;
}

.discount-fields label {
    display: flex;
    flex-direction: column;
}

.discount-fields input {
    width: 100px;
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.total-block {
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
	justify-items: right;
}

.total-block p {
    margin: 5px 0;
    font-size: 1rem;
}

/* ==========================================================================
   Медиа-запросы (адаптация для разных устройств)
   ========================================================================== */

@media (max-width: 1000px) {
    .teeth-grid {
        grid-template-columns: repeat(8, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }



    .content {
        padding: 10px;
		margin-top: 200px;
    }
    .content p {
        font-size: 2em;
    }
	
    .teeth-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(8, 1fr);
    }
    .teeth-grid .tooth {
        grid-column: auto !important;
        grid-row: auto !important;
    }
    .jaws-container {
        flex-direction: column;
        align-items: center;
    }
    .jaw.all-teeth {
        width: 290px;
    }



    .footer h2 {
        font-size: 2rem;
    }
    .teeth-selection {
        margin: 10px;
    }
    .teeth-selection h1 {
        font-size: 1.5rem;
    }
    .teeth-grid {
        gap: 15px;
        max-width: 350px;
    }
    .tooth {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    #next {
        padding: 5px 20px;
        font-size: 1.5rem;
    }
    .procedures-form {
        margin: 10px;
    }
    .procedures-form h1 {
        font-size: 1.5rem;
    }
    .procedures-form h2 {
        font-size: 1.4rem;
    }
    .procedures-form label {
        font-size: 0.9rem;
    }
    .procedures-form .button {
        padding: 5px 20px;
        font-size: 1.5rem;
        margin: 5px;
    }
    .treatment-plan {
        padding: 10px;
    }
    .treatment-plan h2 {
        font-size: 1.5rem;
    }
    .treatment-plan p {
        font-size: 1rem;
    }
    .treatment-plan table {
        font-size: 0.85rem;
    }
    .treatment-plan th, .treatment-plan td {
        padding: 6px;
    }
    .treatment-plan .button {
        padding: 10px 20px;
        font-size: 1.5rem;
        margin: 5px;
    }
	.input_search {
    width: 350px;
	}
	.procedure-search {
    width: 350px;
	}
	.ui-menu-item {
    max-width: 350px;
	}
}
/* End */
/* /styles.css?174928500625772 */
