

/* Start:/local/components/tempus/review.element.form/templates/.default/style.css?177089779011479*/
.tempus-review-form {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 20px;
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.form-row {
display: flex;
    position: relative;
    min-height: 1px;
    /* gap: 40px;*/
}

.form-left {
	flex: 0 0 50%;
    max-width: 50%;
    /*padding-right: 30px;*/
    border-right: 1px solid #e0e0e0;
    position: relative;
}

.form-left .section-header {
    position: sticky;
    top: 20px;
    padding-top: 10px;
}

.form-left h2 {
    font-size: 24px;
    font-weight: 500;
    color: #3C3C3C;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    padding: 0;
    line-height: 1.3;
}

.form-right {
    flex: 0 0 50%;
    max-width: 50%;
	padding: 0 0 0 30px;
}

.form-inner-row {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.form-inputs {
    flex: 0 0 70%;
    max-width: 70%;
}

.form-hint {
    flex: 0 0 30%;
    max-width: 30%;
}

.upload-instructions p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 30px;
}

.upload-interface {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.main-upload-area { 
    width: 30%;
    height: 122px;
    border: 2px dashed #ccc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
    box-sizing: border-box;
    position: relative;
    flex-shrink: 0;
}

.main-upload-area:hover {
    border-color: #007bff;
    background-color: #f0f7ff;
}

.upload-icon {
    font-size: 40px;
    color: #999;
    margin-bottom: 10px;
    font-weight: 300;
    line-height: 1;
}

.upload-text {
    font-size: 12px;
    color: #666;
    text-align: center;
    max-width: 100px;
    line-height: 1.3;
    padding: 0 5px;
}

.additional-upload-btn {
    width: 30%;
    height: 122px;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    cursor: pointer;
    background: #fafafa;
    transition: all 0.3s ease;
    color: #999;
    box-sizing: border-box;
    flex-shrink: 0;
}

.additional-upload-btn:hover {
    border-color: #007bff;
    background-color: #f0f7ff;
    color: #007bff;
}

.file-preview {
    width: 30%;
    height: 122px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: #fff;
    flex-shrink: 0;
}

.preview-content {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.file-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.7);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    pointer-events: none;
}

.file-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    font-size: 10px;
    padding: 4px 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.remove-file {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: rgba(0,0,0,0.6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 2;
}

.remove-file:hover {
    background: rgba(255,0,0,0.8);
}

.file-previews {
    display: none;
}

.hint-block {
    padding-top: 10px;
    font-size: 14px;
    line-height: 1.4;
    color: #939393;
}

.hint-list {
    list-style: unset;
    padding: 0;
    margin: 0;
}

.hint-list li {
    margin-bottom: 15px;
    padding-left: 0;
}

.hint-detail {
    display: block;
    font-size: 11px;
    color: #888;
    margin-top: 3px;
    font-style: italic;
}

.hint-text {
    font-size: 14px;
    line-height: 1.4;
    color: #939393;
}

.upload-hints {
    padding-top: 0;
}

.rating-hints {
    padding-top: 18px;
}

.author-hints {
    padding-top: 4px;
}

.rating-section {
    float: left;
}

.stars-container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    gap: 3px;
}

.stars-container input {
    display: none;
}

.stars-container label {
    font-size: 28px;
    color: #ddd;
    cursor: pointer;
    transition: all 0.3s;
    line-height: 1;
}

.stars-container input:checked ~ label,
.stars-container label:hover,
.stars-container label:hover ~ label {
    color: #ffc107;
}

.stars-container input:checked + label {
    color: #ffc107;
}

.form-group {
    margin-bottom: 25px;
}

.field-label {
    display: block;
    font-size: 12px;
    color: #939393;
    margin-bottom: 1px;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px 14px 9px 2px;
    border: none;
    font-size: 16px;
    border-bottom: 1px solid #ddd;
	color: #3C3C3C;
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.checkbox-group {
    margin-top: 25px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 5px 0;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    margin-right: 10px;
    position: relative;
    background: #fff;
    transition: all 0.2s;
}

.checkbox-label:hover .checkbox-custom {
    border-color: #007bff;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: #007bff;
    border-color: #007bff;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom:after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-text {
    font-size: 14px;
    color: #000;
    font-weight: normal;
}

.form-submit {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.btn-submit {
    background: #939393;
    color: white;
    border: none;
    padding: 16px 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 200px;
}

.btn-submit:hover {
    background-color: #3C3C3C;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.alert {
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    font-size: 15px;
    text-align: center;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (min-width: 993px) and (max-width: 1400px) {
    .main-upload-area,
    .additional-upload-btn, 
	.file-preview {
        width: 105px;
        height: 105px;
    }
}

@media (max-width: 992px) {
    .form-row {
        flex-direction: column;
        gap: 25px;
    }
    
    .form-left,
    .form-right {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0;
        border: none;
    }
    
    .form-left .section-header {
        position: static;
        margin-bottom: 15px;
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 10px;
    }
    
    .form-left h2 {
        font-size: 18px;
    }
    
    .form-inner-row {
        flex-direction: column;
        gap: 15px;
		margin-bottom: 0px;
    }
    
    .form-inputs,
    .form-hint {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .rating-section{
		margin: 0 0 15px 0;
	}
    .hint-block {
        /*padding: 15px;
        border-radius: 8px;
        margin-top: 15px;*/
    }
    
    .upload-hints,
    .rating-hints,
    .author-hints {
        padding-top: 0;
    }
    
    .upload-hints {
		margin: 0 0 0 15px;
    }
	
    .upload-interface {
        align-items: flex-start;
    }
    
    .form-submit {
        margin-top: 40px;
        padding-top: 30px;
    }
    
    .btn-submit {
        width: 100%;
        min-width: auto;
        padding: 16px;
    }
}

@media (max-width: 768px) {
    .tempus-review-form {
        padding: 0 5px 0 0px;
    }
    
    .form-container {
        gap: 40px;
    }
    
    .stars-container label {
        font-size: 32px;
    }
    
    .main-upload-area, 
	.additional-upload-btn,
	.file-preview {
        width: 100px;
        height: 100px;
    }

}

@media (max-width: 480px) {
    .stars-container label {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .upload-interface {
        gap: 10px;
        justify-content: flex-start;
    }
    
    .main-upload-area, 
	.additional-upload-btn,
	.file-preview {
        width: 100px;
        height: 100px;
    }
    
    .upload-icon,
    .additional-upload-btn {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .main-upload-area, 
	.additional-upload-btn,
	.file-preview {
        width: 80px;
        height: 80px;
    }
    
    .upload-icon,
    .additional-upload-btn {
        font-size: 24px;
    }
    
    .upload-text {
        font-size: 10px;
        max-width: 70px;
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 40px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: modalShow 0.3s ease;
}

@keyframes modalShow {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-icon {
    font-size: 64px;
    font-weight: bold;
    margin-bottom: 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 16px;
    color: #000;
}

.modal-text {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 30px;
}

.modal-btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    min-width: 160px;
    transition: all 0.3s;
}

.modal-btn-primary {
    background: #000;
    color: white;
}

.modal-btn-primary:hover {
    background: #333;
}

.modal-loading {
    padding: 60px 40px;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* End */


/* Start:/bitrix/components/aspro/smartseo.content/templates/.default/style.css?174958366580*/
.aspro-smartseo-content__wrapper {
  margin-top: 20px;
  margin-bottom: 20px;
}

/* End */
/* /local/components/tempus/review.element.form/templates/.default/style.css?177089779011479 */
/* /bitrix/components/aspro/smartseo.content/templates/.default/style.css?174958366580 */
