:root {
    --primary-red: #ff3b3b;
    --primary-yellow: #ffd700;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
    --dark: #1a1a1a;
    --gray: #f5f5f5;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Cairo', sans-serif;
    background: var(--light-gray);
    direction: rtl;
  
    background-color: #f5f5f5;
}
.login-page{
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #f5f5f5;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    
    min-height: 100vh;
    background-color: #f5f5f5;
}

.login-box {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-logo {
    width: 120px;
    margin-bottom: 1.5rem;
}

.login-box h2 {
    color: #333;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: right;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.login-btn {
    background-color: #007bff;
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
    transition: background-color 0.3s;
}

.login-btn:hover {
    background-color: #0056b3;
}

.animate-title{
  color: var(--primary-red);
}
/* Dashboard Styles */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Modern Navigation Bar */
.top-nav {
    background: var(--primary-red);
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-nav h2 {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0;
    white-space: nowrap;
}

.top-nav h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 50%;
    height: 3px;
    background: var(--primary-yellow);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.top-nav h2:hover::after {
    transform: scaleX(1);
}

/* Modern Search Box */
.search-section {
    margin-bottom: 2rem;
    animation: slideUp 0.5s ease-out 0.2s both;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 400px;
    flex: 1;
}

#searchInput {
    flex: 1;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0 4px 4px 0;
    font-size: 0.9rem;
    height: 36px;
    box-sizing: border-box;
}

#searchBtn {
    padding: 0.5rem 1rem;
    background: #1a73e8;
    color: var(--white);
    border: none;
    border-radius: 4px 0 0 4px;
    height: 36px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#searchBtn:hover {
    background: #ff2525;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 59, 59, 0.3);
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.result-card {
    background: #333;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 0.5s ease-out forwards;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.card-header {
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: none;
    text-align: right;
    overflow: auto;
    background: rgba(255,255,255,0.04);
    border-radius: 18px 18px 0 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.card-header h3 {
    color: #fff;
    margin: 0 0 1.5rem 0;
    font-size: 1.7rem;
    font-weight: 700;
    text-align: right;
    letter-spacing: 0.5px;
}

.card-info {
    text-align: right;
    direction: ltr;
    color: #fff;
    float: right;
    width: fit-content;
    min-width: 320px;
    margin-right: 0;
    margin-left: auto;
    background: rgba(255,255,255,0.03);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    padding: 1.2rem 2rem 1.5rem 2rem;
    margin-bottom: 1rem;
}

.card-info p {
    direction: ltr;
    justify-content: flex-end;
    text-align: left;
    margin: 0.7rem 0;
    font-size: 1.08rem;
    line-height: 2.1;
    letter-spacing: 0.1px;
    transition: background 0.2s;
    border-radius: 8px;
    padding: 0.2rem 0.5rem;
}

.card-info p strong {
    direction: rtl;
    text-align: right;
    margin-left: 0.5rem;
    color: #ffd700;
    font-weight: 700;
    font-size: 1.08rem;
    letter-spacing: 0.2px;
}

.card-info p span, .card-info p {
    color: #f5f5f5;
    font-weight: 400;
}

.card-info p:hover {
    background: rgba(255,255,255,0.07);
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.image-container {
    width: 100%;
    position: relative;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px;
    color: white;
    text-align: right;
}

.gallery-item:hover .image-overlay {
    opacity: 1;
    transform: translateY(0);
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Download Button */
.download-btn {
    background: var(--primary-yellow);
    color: var(--dark-gray);
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: #ffc800;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Loading Indicator */
.loading-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
}

.spinner {
    width: 30px;
    height: 30px;
    border: 3px solid var(--light-gray);
    border-top: 3px solid var(--primary-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.hide {
    display: none;
}

@media (max-width: 1920px) {
    .search-section {
        padding: 100px 1rem 1rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .card-content {
        padding: 1rem;
    }
}


.error-message, .no-results {
    background: rgba(255, 59, 59, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    margin: 2rem auto;
    max-width: 600px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 59, 59, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
    
}

.error-message h3 {
    color: var(--primary-red);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.error-message p {
    color: var(--white);
    opacity: 0.8;
    line-height: 1.6;
}

.error-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.error-actions {
    margin-top: 1.5rem;
}

.retry-button {
    background: var(--primary-yellow);
    color: var(--dark);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.retry-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.error-message.animate-up {
    animation: errorSlideUp 0.5s ease-out;
}

@keyframes errorSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Style for no results */
.no-results {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.no-results h3 {
  color: #1a1a1a;

}

.no-results p {
  color: #1a1a1a;

}

/* Add these styles to your existing CSS */

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
    width: 100%;
}

.gallery-item {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.image-container {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.image-container:hover {
    transform: translateY(-5px);
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
}

.image-container p {
    margin: 5px 0;
    color: #333;
    font-weight: 500;
}

.error-text {
    color: #ff3b3b;
    font-size: 0.9em;
    margin-top: 5px;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .image-overlay {
    transform: translateY(0);
}

.image-overlay span {
    color: white;
    font-size: 0.9rem;
}

.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 1rem;
    text-align: center;
    color: #1a1a1a;
}

.no-image-content {
  color: #1a1a1a;

}

.no-image-content .error-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 0.5rem;
    color: #1a1a1a;

}

.no-image-title {
    display: block;
    font-size: 0.9rem;
    color: #1a1a1a;

    margin-bottom: 0.25rem;
}

.no-image-message {
    display: block;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Modal styles */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    background: var(--dark);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--light-gray);
    flex-direction: row-reverse;
}

.modal-header h4 {
    color: var(--primary-yellow);
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.close-modal:hover {
    transform: scale(1.1);
    color: var(--primary-red);
}

.modal-content img {
    max-width: 100%;
    max-height: calc(90vh - 60px);
    object-fit: contain;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .image-gallery {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.5rem;
    }
    
    .card-header {
        padding: 1rem;
    }
    
    .card-info {
        font-size: 0.8rem;
    }
}

/* Add these new styles for error handling */
.image-error {
    background: rgba(255, 59, 59, 0.1);
    border-radius: 10px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.image-error-content {
    text-align: center;
    color: var(--white);
}

.image-error-content .error-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 0.5rem;
    color: var(--primary-red);
}

.image-error-content span {
    display: block;
    font-size: 0.8rem;
}

.image-error-content .error-message {
    color: var(--primary-red);
    margin-top: 0.25rem;
    font-size: 0.7rem;
}

.modal-image-error {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: rgba(255, 59, 59, 0.1);
    border-radius: 10px;
    padding: 2rem;
}

.modal-error-content {
    text-align: center;
    color: var(--white);
}

.modal-error-content .error-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: var(--primary-red);
}

.modal-error-content p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.modal-error-content .error-details {
    color: var(--primary-red);
    font-size: 0.9rem;
}

/* Add loading state */
.image-container img[loading] {
    opacity: 0.5;
}

.image-container img:not([loading]) {
    opacity: 1;
}

/* Add these styles to your existing CSS */
.no-images-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: var(--gray);
}

.no-images-message .error-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: var(--primary-yellow);
}

.no-images-message p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.image-container img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-container img.loaded {
    opacity: 1;
}

/* Add image loading animation */
.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: loading 1.5s infinite;
}

.image-container img.loaded + .image-container::before {
    display: none;
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Add these styles to your existing CSS */
.no-image {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    padding: 1rem;
}

.no-image-content {
    text-align: center;
    color: var(--gray);
}

.no-image-content .error-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 0.5rem;
    color: var(--primary-yellow);
}

.no-image-title {
    display: block;
    font-size: 0.9rem;
    color: white;
    margin-bottom: 0.25rem;
}

.no-image-message {
    display: block;
    font-size: 0.8rem;
    opacity: 0.7;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
}

.gallery-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.image-container {
    position: relative;
    padding-top: 100%;
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .image-overlay {
    transform: translateY(0);
}

.image-overlay span {
    color: white;
    font-size: 0.9rem;
}

.image-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.image-container:hover {
    transform: translateY(-5px);
}

.image-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.image-container p {
    padding: 10px;
    margin: 0;
    text-align: center;
    font-weight: 500;
    color: #333;
}

.loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 20px;
    font-size: 18px;
    color: #666;
}

.error-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 20px;
    background-color: #fff3f3;
    border-radius: 8px;
    color: #ff3b3b;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.error-icon {
    width: 40px;
    height: 40px;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 20px;
    color: #1a1a1a;

    font-size: 16px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 8px;
    transition: background-color 0.2s;
}

.download-btn:hover {
    background: #2980b9;
}

.download-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

.download-btn svg {
    width: 16px;
    height: 16px;
}

.image-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
}

/* Logout button styles */
.logout-btn {
    background-color: #dc3545;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    margin-right: 1rem;
    transition: background-color 0.3s;
}

.logout-btn:hover {
    background-color: #c82333;
}

/* Make the nav responsive */
@media (max-width: 768px) {
    .top-nav {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .search-box {
        width: 100%;
        flex-direction: row-reverse;
    }

    .logout-btn {
        align-self: flex-start;
    }
}

/* Login page specific styles */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    font-family: 'Poppins', sans-serif;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
}

.login-container h1 {
    text-align: center;
    color: #333;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 600;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-group {
    position: relative;
    background: #e8e8e8;
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.input-group svg {
    color: #666;
    width: 20px;
    height: 20px;
}

.input-group input {
    width: 100%;
    padding: 1rem;
    border: none;
    background: transparent;
    outline: none;
    font-size: 1rem;
    color: #333;
}

.input-group input::placeholder {
    color: #888;
}

.login-form button {
    padding: 1rem;
    border: none;
    border-radius: 50px;
    background: linear-gradient(to right, #6366f1, #ec4899);
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s;
}

.login-form button:hover {
    transform: translateY(-2px);
}

/* Error message styling */
.error-message {
    background: rgba(255, 0, 0, 0.1);
    color: #ff3b3b;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

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

.suggestions-box {
    position: absolute;
    top: 100%; /* Position below the search input */
    left: 0;
    right: 0;
    background: var(--dark-gray);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 100;
    max-height: 250px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.suggestions-box.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.suggestion-item {
    padding: 0.8rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.2s;
    text-align: right;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.suggestion-item h4 {
    color: var(--primary-yellow);
    margin: 0 0 0.2rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.suggestion-item p {
    color: var(--light-gray);
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Main Info Display */
.main-info-display {
    background: #333;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 900px; /* Adjust as needed */
    color: var(--white);
    display: none; /* Hidden by default, shown by JS */
    animation: fadeIn 0.5s ease-out forwards;
}

.main-info-display.show {
    display: block;
}

.main-info-display h3 {
    color: var(--primary-yellow);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-align: right;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 10px;
    line-height: 1.3;
}

.main-info-content p {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    margin: 0.8rem 0;
    font-size: 1.1rem;
    line-height: 1.6;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    direction: rtl;
}

.main-info-content p:hover {
    background-color: rgba(255, 255, 255, 0.07);
}

.main-info-content p strong {
    color: var(--primary-red);
    margin-left: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    direction: rtl;
    unicode-bidi: isolate;
    white-space: nowrap;
    flex-shrink: 0;
}

.main-info-content p span {
    color: var(--light-gray);
    font-weight: 400;
    direction: ltr;
    text-align: left;
    flex-grow: 1;
    unicode-bidi: isolate;
    margin-right: auto;
}

/* Adjust the map button within main info */
.main-info-display .download-btn {
    margin-top: 1.5rem; 
    background: var(--primary-yellow);
    color: var(--dark-gray);
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border-radius: 8px;
    justify-content: center;
}

.main-info-display .download-btn:hover {
    background: #ffc800;
}

.main-info-display .download-btn svg {
    margin-left: 0.5rem;
    margin-right: 0;
}

/* Hide card-header and card-info from image cards */
.result-card .card-header,
.result-card .card-info {
    display: none;
}

.info-message, .error-message {
    text-align: center;
    padding: 40px 20px;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.user-list-container {
    padding: 20px;
    margin: 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.user-list-container h3 {
    text-align: right;
    color: #c41e2f;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.user-date-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.user-list-item {
    background-color: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    border-right: 4px solid #c41e2f;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    text-align: right;
}

.user-list-item:hover {
    transform: translateY(-3px);
    background-color: #e9ecef;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    border-right-color: #a71827;
} 