.full-agreement {
    position: absolute;
    bottom: 100%;
    left: 20px;
    right: 20px;
    background: white;
    color: #333;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    max-height: 70vh;
    display: flex;
    flex-direction: column;
}

.full-agreement-content h3 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.agreement-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    margin: 15px 0;
    border: 1px solid #eee;
    border-radius: 5px;
    line-height: 1.6;
    max-height: calc(70vh - 200px);
}

.full-agreement-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.agreement-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2c3e50 0%, #4a6491 100%);
    color: white;
    z-index: 2147483645 !important;
    padding: 15px 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    border-top: 3px solid #3498db;
}

.agreement-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.agreement-text {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.agreement-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.agreement-message {
    font-size: 14px;
    line-height: 1.4;
}

.agreement-link {
    color: #3498db;
    text-decoration: underline;
    transition: color 0.3s;
}

.agreement-link:hover {
    color: #5dade2;
}

.agreement-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.agreement-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.agreement-checkbox-label:hover {
    transform: translateY(-1px);
}

.agreement-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #3498db;
}

.agreement-checkbox-text {
    white-space: nowrap;
}

.agree-btn {
    background: linear-gradient(to right, #27ae60, #2ecc71);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
    min-width: 120px;
}

.agree-btn:not(:disabled):hover {
    background: linear-gradient(to right, #219653, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.agree-btn:not(:disabled):active {
    transform: translateY(0);
}

.agree-btn:disabled {
    background: linear-gradient(to right, #7f8c8d, #95a5a6);
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: none;
}

/* Анимация появления */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.agreement-bar {
    animation: slideUp 0.5s ease-out;
}

/* Анимация исчезновения */
@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

.agreement-bar.hiding {
    animation: slideDown 0.3s ease-out forwards;
}

/* Адаптивность */
@media (max-width: 768px) {
    .agreement-bar {
        padding: 12px 15px;
    }

    .agreement-bar-content {
    //flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .agreement-text {
        min-width: auto;
        justify-content: center;
        text-align: center;
    }

    .agreement-message {
        font-size: 13px;
    }

    .agreement-actions {
        justify-content: center;
    }

    .agree-btn {
        padding: 8px 20px;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .agreement-bar {
        padding: 10px;
    }

    .agreement-message {
        font-size: 12px;
    }

    .agreement-checkbox-label {
        font-size: 13px;
    }
}