/* بوصلة سوريا - Syria Compass */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;700&display=swap');

:root {
    --primary-color: #3b82f6;
    --hover-color: #2563eb;
}

body {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.answer-btn {
    transition: all 0.2s ease;
}

.answer-btn.selected {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.results-scale {
    position: relative;
    transition: all 0.2s ease;
}

.results-scale.cursor-pointer {
    cursor: pointer;
}

.results-scale.cursor-pointer:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.scale-marker {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    transition: left 1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Fix RTL issues with Tailwind */
.space-x-4 > * + * {
    margin-right: 1rem;
    margin-left: 0;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

#intro, #question-container, #results-container {
    animation: fadeIn 0.5s ease-out;
}

/* For RTL language support in the slider */
.answer-btn[data-value="-2"] {
    margin-right: 0;
}

/* Custom styles for markers in the results */
#marker-auth-lib, #marker-rel-sec, #marker-soc-cap, 
#marker-nat-glob, #marker-mil-pac, #marker-ret-rec {
    transition: left 1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Styles for share button and display */
.share-container {
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.share-container.active {
    opacity: 1;
    visibility: visible;
}

.share-content {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    max-width: 90%;
    width: 500px;
}

/* Modal styling */
.modal-content-height {
    max-height: calc(80vh - 120px);
}

#modal-content::-webkit-scrollbar {
    width: 6px;
}

#modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#modal-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

#modal-content::-webkit-scrollbar-thumb:hover {
    background: #555;
} 