/* Add this CSS code to your theme's style.css file or a custom CSS plugin */

.x-challenge-form {
    margin: 20px; /* Add some margin for spacing */
    border-collapse: collapse; /* Collapse table borders */
    
}

.form-columns {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal-width columns */
    gap: 20px; /* Add some gap between columns */
}


.section-header {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc; /* Add border under section headers */
    padding: 5px;
}

.blue-bg {
    background-color: #04CFE3;
    color: #fff;
    padding: 5px;
}

/* Style for form labels and inputs */
label {
    display: block;
    margin-bottom: 5px;
    line-height: 1.5rem !important;
    font-weight: 600;
}

input[type="text"],
input[type="email"], input[type="tel"], input[type="date"],
textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 20px !important;
    border: 1px solid #000000 !important;
    border-radius: 0px !important;
    box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 0.99);
}

input[type="file"] {
    margin-top: 5px;
	margin-bottom: 20px;
	/* color: #ffffff; */
	box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 0.99);
}

input[type="submit"], button#add-file {
    font-family: "Montserrat", Sans-serif;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    fill: var(--e-global-color-ec3dfe8 );
    color: var(--e-global-color-ec3dfe8 );
    background-color: #DE4013;
    border-style: solid;
    border-width: 2px 2px 2px 2px;
    border-color: var(--e-global-color-primary );
    border-radius: 0px 0px 0px 0px;
    box-shadow: 5px 5px 0px 0px #000000;
}

input[type="submit"]:hover, button#add-file:hover {
    color: #FFFFFF;
    background-color: #008B9A;
}

/* Style for submit button */
/*
input[type="submit"], button#add-file {
    padding: 10px 20px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
	margin-bottom: 20px;
}

input[type="submit"]:hover, button#add-file:hover {
    background-color: #2980b9;
}
*/


/* Basic styling for square checkbox */

[type=checkbox] {
  width: 1.8rem;
  height: 1.8rem;
  vertical-align: middle;
  -webkit-appearance: none;
  background: none;
  border: 0;
  outline: 0;
  flex-grow: 0;
  background-color: #FFFFFF;
  transition: background 300ms;
  cursor: pointer;
}

/* Pseudo element for check styling */

[type=checkbox]::before {
  content: "\2713"; /* Checkmark character ✓ */
  color: transparent;
  display: block;
  width: 100%;
  height: 100%;
  border: 2px solid #000000; /* Border color when not checked */
  background-color: transparent;
  border-radius: 0; /* Square shape */
  font-size: 1.2rem;
  text-align: center;
  line-height: 1.7rem;
  transition: background 300ms, border-color 300ms;
}

/* Checked */

[type=checkbox]:checked::before {
  background-color: #ffffff; /* Background color when checked */
  border-color: #DE4013; /* Border color when checked */
  color: #DE4013;
}

/* Disabled */

[type=checkbox]:disabled {
  background-color: #DE4013;
  opacity: 0.84;
  cursor: not-allowed;
}

/* IE */

[type=checkbox]::-ms-check {
  content: "";
  color: transparent;
  display: block;
  width: inherit;
  height: inherit;
  border-radius: inherit;
  border: 0;
  background-color: transparent;
  background-size: contain;
  box-shadow: inset 0 0 0 1px #DE4013;
}

[type=checkbox]:checked::-ms-check {
  box-shadow: none;
}

.aszfurl:hover {
    color: #DE4013 !important;
}

#add-file {
    margin-bottom: 10px;
}


.help-text {
    display: block;
    position: static;
    margin-top: 0px;
    
    font-style: italic;
    font-size: 14px;
}

.help-content {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.help-icon {
    align-items: center;
    margin-right: 5px;
}





/* Mobil nézethez */
@media (max-width: 768px) {

    .form-columns {
        grid-template-columns: 1fr !important; /* Egy oszlop mobil nézeten */
    }
        
    button#add-file {
        font-size: 12px !important;
    }
        
    .x-challenge-form {
        margin: 20px 0px 20px 0px !important;
        
    }
}
