body {
  background-color: #f4f7f9;
}
h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6{
  color: #004d99;
  font-weight: bold;
}
header nav,
header nav a.nav-link {
  background-color: #004d99;
  color: #fff;
} 
header nav a.nav-link{
  font-weight: bold;
}
.nav-link.is-active{
  color: #ffcc00;
}
.hero {
    background: linear-gradient(rgba(0, 77, 153, 0.8), rgba(0, 77, 153, 0.8)), url(https://via.placeholder.com/1200x500.png?text=Lotto+Jackpot+Background) no-repeat center center / cover;
    color: var(--text-light);
    text-align: center;
    padding: 100px 0;
    color: #fff;
}
.views-field-field-combinations span,
.combination span {
    background: #004D99;
    padding: 10px;
    border-radius: 25px;
    color: #fff;
    font-weight: bold;
    margin: 0 5px;
}
.views-field-field-combinations{
  text-align: center;
}
.view-major-game-result .views-row,
.game-item {
    margin-bottom: 30px;
}
.view-major-game-result .views-row > .views-field-field-game,
.game-inner-wrapper {
    background: #fff;
    padding: 25px 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.view-major-game-result .views-field-field-draw-date{
  padding-bottom: 20px;
}
/* This is the main wrapper for the whole widget */
.lotto-dropzone-widget {
  /* This element now becomes the container */
}

/* This is our new <label> that wraps everything */
.lotto-dropzone-widget .dropzone-label {
  display: block; /* Make the label a block so it has dimensions */
  position: relative;
  min-height: 150px;
  padding: 2rem;
  border: 2px dashed #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Style for the text inside the dropzone */
.lotto-dropzone-widget .dropzone-text {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  /* This ensures the text itself doesn't block the hidden input */
  pointer-events: none;
  /* Position text in the middle of the dropzone */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

/* --- HIDE THE DEFAULT ELEMENTS --- */

/* This hides the div that contains the actual input and upload button */
.lotto-dropzone-widget .js-form-managed-file {
  /* Make the container of the real inputs transparent */
  opacity: 0;
  /* Make sure it covers the entire area of the label to be clickable */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

/* Hide the default description text */
.js-form-item-image .description {
  display: none;
}

/* This is the main wrapper for the whole widget */
.lotto-dropzone-wrapper {
  position: relative;
}

/* This is our NEW dropzone element, created by JavaScript */
.lotto-dropzone-wrapper .dropzone-label {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 150px;
  padding: 2rem;
  border: 2px dashed #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
  color: #666;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  text-align: center;
}

.lotto-dropzone-wrapper .dropzone-label:hover {
  background-color: #f0f0f0;
  border-color: #999;
}

/* This class is now added by JS to hide the original widget */
.lotto-dropzone-wrapper .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Also hide Drupal's default label and description */
.lotto-dropzone-wrapper > .form-item__label,
.lotto-dropzone-wrapper .description {
  display: none;
}