.dashboard-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 16px 20px 16px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 32px;
}

.dashboard-main {
    display: flex;
    justify-content: center;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.dashboard-tile {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(38,56,89,0.08);
    padding: 30px 10px 15px 10px;
    text-align: center;
    text-decoration: none;
    color: #22334a;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.dashboard-tile:hover {
    box-shadow: 0 8px 28px rgba(38,56,89,0.16);
    transform: translateY(-3px) scale(1.04);
}

.dashboard-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
}

.logout-link {
    display: block;
    margin: 32px auto 0 auto;
    text-align: center;
    color: #d13345;
    font-weight: 600;
    text-decoration: none;
    font-size: 18px;
}
.logout-link:hover {
    text-decoration: underline;
}

.back-btn {
  display: block;
  margin: 26px auto 0 auto;
  padding: 10px 26px 10px 18px;
  border-radius: 8px;
  background: #1976d2;
  color: #fff;
  font-size: 1.04em;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(25,118,210,0.08);
  transition: background 0.15s;
  font-weight: 500;
}
.back-btn:hover {
  background: #125ba8;
}
/* Premium diamond indicator for dashboard tiles */
.dashboard-tile {
    position: relative;
}

.premium-diamond {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 16px;
    height: 16px;
    background-image: url('../img/logos/diament_ikona.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: help;
    opacity: 1 !important; /* Zawsze widoczne */
    transition: opacity 0.2s ease;
}

.premium-diamond:hover {
    opacity: 1 !important;
}

/* Premium tooltip for dashboard tiles */
.premium-diamond::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
    margin-bottom: 5px;
}

.premium-diamond::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: #000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
}

.premium-diamond:hover::after,
.premium-diamond:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Tooltipsy premium ZAWSZE w pełnej jasności, nawet gdy ikona jest disabled */
.disabled-feature .premium-diamond:hover::after,
.disabled-feature .premium-diamond:hover::before {
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
}

@media (max-width: 600px) {
  .back-btn {
    padding: 10px 14px 10px 11px;
    font-size: 0.98em;
  }
}
