/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Header styles */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left, .nav-right {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.main-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: #4a90e2;
}

.admin-nav-link {
    background: #dc3545;
    color: #fff !important;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.admin-nav-link:hover {
    background: #c82333;
    color: #fff !important;
}

/* Main content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: calc(100vh - 160px);
}

/* Footer */
.main-footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1.5rem;
    margin-top: auto;
}

/* Buttons */
.btn-secondary {
    background-color: #dc3545;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
}

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

/* Responsive design */
@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-left, .nav-right {
        width: 100%;
        justify-content: center;
    }

    .main-content {
        padding: 1rem;
    }
}

/* Utility classes */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

/* Base styles */
h1 {
  font-size: 2.5rem;
  margin: 1em 0;
  font-weight: 700;
  line-height: 1.2;
}

/* Proverb Card Styles for watermark */
.proverb-image-container {
  position: relative;
  display: inline-block;
  max-height: 190px;
  width: 100%;
}

.proverb-image-container img {
  width: 100%;
  height: 180px;
  display: block;
}

.proverb-image-container .watermark {
  position: absolute;
  top: 100%;
  right: 5px;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.6);
  background-color: rgba(255, 255, 255, 0.6);
  padding: 4px 8px;
  font-weight: bold;
  border-radius: 4px;
  pointer-events: none;
  user-select: none;
}
 