/* Reference To Block Styles */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}
.reference-block {
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 10px 0;
}

.reference-block .components-base-control__label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
    direction: rtl;
    text-align: right;
}

.reference-block .components-text-control__input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    direction: rtl;
    text-align: right;
}

.reference-preview {
    font-style: italic;
    background: #fff;
    border-radius: 4px;
}

/* Go To Block Styles */
.goto-block {
    padding: 15px;
    background: #f0f8ff;
    border: 1px solid #007cba;
    border-radius: 4px;
    margin: 10px 0;
}

.goto-block .components-base-control__label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
    direction: rtl;
    text-align: right;
    color: #007cba;
}

.goto-block .components-text-control__input {
    width: 100%;
    padding: 8px;
    border: 1px solid #007cba;
    border-radius: 4px;
    direction: rtl;
    text-align: right;
}

.goto-preview {
    transition: all 0.3s ease;
}

.goto-preview:hover {
    background-color: #e6f3ff !important;
    transform: translateY(-1px);
}

/* Frontend Button Styles */
.goto-button {
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin: 10px 0;
}

.goto-button:hover {
    background-color: #007cba !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 124, 186, 0.3);
}

.goto-button:active {
    transform: translateY(0);
}

/* RTL Support */
.reference-block,
.goto-block {
    direction: rtl;
    text-align: right;
}

/* Responsive Design */
@media (max-width: 768px) {
    .goto-button {
        width: 100%;
        text-align: center;
    }
} 