.infotable {
    font-size: 12px;

}

.bootstrap-table .search input {
  font-size: 14px;
  font-family: "Roboto", sans-serif;
}

.bootstrap-table .pagination-detail,
.bootstrap-table .pagination,
.bootstrap-table .btn,
.bootstrap-table .page-link,
.bootstrap-table .filter-control input,
.bootstrap-table .filter-control select {
    font-size: 10px;
    font-family: "Lexend", sans-serif;
}

.greiningartexti p {
    font-family: Lexend;
    font-size: 14px;
}

.greiningartexti img {
    border: thin inset var(--default-color);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    height: auto;
}

.logtable {
  background-color: #2F3E46;
}

.logtable th, td {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}




.section .btn-action,
.section .btn-action:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 13px;
  padding: 8px 25px;
  margin: 0 0 0 0;
  border-radius: 50px;
  transition: 0.3s;
    border: none;
}

.section .btn-action:hover,
.section .btn-action:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 1200px) {

  .section .btn-action {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }
}


/* Sérstaklega gert fyrir fasteigna tenglana */
.real-estate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.site-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px 20px;
    margin-bottom: 40px;

}

.site-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.site-header {
    padding: 20px;
    background: #52796F;
    color: white;
}

.site-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.site-description {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.site-links {
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.site-link {
    display: inline-block;
    padding: 8px 16px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.site-link:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
}

.iframe-container {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: #f8f9fa;
}

.site-iframe {
    width: 100%;
    height: 100%;
    border: none;
    transform: scale(0.75);
    transform-origin: 0 0;
    width: 133%;
    height: 133%;
}

.graframmi{
    background: rgba(255, 255, 255, 1);

}

.iframe-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
    z-index: 10;
}

.iframe-overlay:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.1);
}

.overlay-text {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
}

.loading-placeholder {
    height: 400px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-style: italic;
    flex-direction: column;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e9ecef;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

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

.toggle-dropdown{
    margin-right:15px;
}
.graph_container {
  font-family: 'Open sans', sans-serif;
  font-size: 11px;
  color: #2F3E46;

    background: #FFF;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 10px;
}
p.graphselect {
    margin:0;
}
.load-iframe-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.load-iframe-btn:hover {
    background: #218838;
}

@media (max-width: 768px) {
    .real-estate-grid {
        grid-template-columns: 1fr;
    }

    .site-card {
        margin-bottom: 20px;
    }

    .iframe-container {
        height: 300px;
    }

    .site-iframe {
        transform: scale(0.6);
        width: 167%;
        height: 167%;
    }
}