.panel-default > .panel-heading {
    
    background-color: white;
}
.wc-section-header {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 0 24px 0 !important;
}

.wc-section-toprow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.wc-section-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.wc-section-number {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 9px;
    background: linear-gradient(135deg, #092e6d, #0b4e9f);
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    line-height: 38px;
    font-weight: 900;
    text-align: center;
    box-shadow: 0 3px 7px rgba(0, 32, 90, 0.28);
}

.wc-section-title {
    font-family: "Arial Narrow", "Roboto Condensed", "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 25px;
    line-height: 1;
    font-weight: 800;
    color: #061a3d;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.wc-section-status {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    color: #061a3d;
    white-space: nowrap;
}

.wc-section-subtitle {
    margin: 12px 0 0 0;
    padding: 0;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 400;
    color: #1d2430;
}

@media (max-width: 700px) {
    .wc-section-toprow {
        align-items: flex-start;
    }

    .wc-section-title {
        font-size: 22px;
    }

    .wc-section-status {
        display: none;
    }

    .wc-section-subtitle {
        margin-top: 10px;
    }
}


.wc-podium-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #061a3d;
    margin-bottom: 12px;
}

.wc-medal {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
 /*   font-family: Georgia, "Times New Roman", serif; */
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    /*
    border: 2px solid rgba(0, 0, 0, 0.12);
box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.65),
        inset 0 -3px 5px rgba(0, 0, 0, 0.14),
        0 3px 7px rgba(0, 0, 0, 0.12);    
    */
}

.wc-medal-gold {
    background: linear-gradient(135deg, #ffe27a, #d8a520 48%, #b87912);
    color: #7a4b00;
}

.wc-medal-silver {
    background: linear-gradient(135deg, #f3f4f6, #bfc5cf 48%, #8e96a3);
    color: #555d68;
}

.wc-medal-bronze {
    background: linear-gradient(135deg, #f0b17a, #c5793e 48%, #8f4b20);
    color: #5b2b10;
}


input[type="number"] {
  width: 80px;
  font-size: 150%;
  font-weight: 600;
  text-align: center;
  color: #061a3d;
  border-radius: 10px;
  padding: 4px;
}



input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  opacity: 1;
}





html,
body {
    min-height: 100%;
}

body.function-add,
body.function-edit {
    background:
        radial-gradient(circle at 20% 90px, rgba(255,255,255,0.08), transparent 250px),
        radial-gradient(circle at 85% 120px, rgba(255,255,255,0.07), transparent 280px),
        linear-gradient(
            to bottom,
            #010611 0px,
            #020b1d 80px,
            #03122b 150px,
            #041a3b 225px,
            #05284d 300px,
            #06385a 380px,
            #064c55 470px,
            #075a45 560px,
            #096034 680px,
            #0b5c24 100%
        ) !important;
    background-attachment: fixed;
}

.function-add div.panel.panel-default.form-section,
.function-edit div.panel.panel-default.form-section,
.function-add .panel-heading,
.function-edit .panel-heading
{
 border-radius: 20px;   
} 


.function-add div.r-form img,
.function-edit div.r-form img{
    margin: auto;
    padding-bottom: 10px;
}


.wc-penalty-toggle {
    display: inline-flex !important;
    gap: 6px;
    padding: 5px;
    background: #edf2f7;
    border: 1px solid #d7dee8;
    border-radius: 999px;
    align-items: center;
}

/* Remove PHPRunner / Bootstrap radio spacing */
.wc-penalty-toggle .radio {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wc-penalty-toggle .radio label {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    cursor: pointer;
}

/* Hide the actual radio dot */
.wc-penalty-toggle input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Button look */
.wc-penalty-toggle .rnr-radio-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    padding: 10px 24px;
    border-radius: 999px;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    color: #061a3d;
    transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}

/* Selected state */
.wc-penalty-toggle input[type="radio"]:checked + .rnr-radio-label {
    background: #0b3b88;
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(0, 32, 90, 0.22);
}

/* Hover */
.wc-penalty-toggle .radio label:hover .rnr-radio-label {
    background: #dfe8f4;
}

.wc-penalty-toggle input[type="radio"]:checked + .rnr-radio-label:hover {
    background: #0b3b88;
}

div[data-itemtype="edit_message"] {
    background-color: white;   

    border-radius: 10px;


}

div[data-itemtype="edit_message"] h5 {
    color: #0b3b88;  
    font-weight: bold;
    font-size: 18px;
}    


button[id^="backToMenuButton"],
button[id="backButton1"]{
    display: none;
}


.wc-thankyou-page {
    max-width: 760px;
    margin: 40px auto 70px auto;
    padding: 0 18px;
}

.wc-thankyou-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 46px 48px;
    text-align: center;
    box-shadow: 0 18px 45px rgba(0, 12, 40, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.75);
}

.wc-thankyou-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a642f, #11a35a);
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 42px;
    font-weight: 900;
    line-height: 72px;
    box-shadow: 0 8px 18px rgba(0, 90, 45, 0.28);
}

.wc-thankyou-card h1 {
    margin: 0 0 14px 0;
    font-family: "Arial Narrow", "Roboto Condensed", "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 900;
    color: #061a3d;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.wc-thankyou-main {
    margin: 0 0 26px 0;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.45;
    color: #1d2430;
}

.wc-thankyou-note {
    max-width: 560px;
    margin: 0 auto 30px auto;
    padding: 18px 22px;
    border-radius: 14px;
    background: #f3f7fb;
    border: 1px solid #dce6f0;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.45;
    color: #061a3d;
}

.wc-thankyou-note strong {
    display: block;
    margin-top: 4px;
    font-size: 18px;
}

.wc-thankyou-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 0 0 26px 0;
}

.wc-thankyou-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    padding: 13px 24px;
    border-radius: 999px;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none !important;
    transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}

.wc-thankyou-btn:hover {
    transform: translateY(-1px);
    text-decoration: none !important;
}

.wc-thankyou-btn-primary {
    background: #0b3b88;
    color: #ffffff !important;
    box-shadow: 0 6px 14px rgba(0, 45, 110, 0.28);
}

.wc-thankyou-btn-primary:hover {
    background: #092f70;
}

.wc-thankyou-btn-secondary {
    background: #edf2f7;
    color: #061a3d !important;
    border: 1px solid #d7dee8;
}

.wc-thankyou-btn-secondary:hover {
    background: #e1e9f2;
}

.wc-thankyou-footer {
    max-width: 560px;
    margin: 0 auto;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.45;
    color: #4c5665;
}

@media (max-width: 640px) {
    .wc-thankyou-card {
        padding: 34px 24px;
    }

    .wc-thankyou-card h1 {
        font-size: 28px;
    }

    .wc-thankyou-actions {
        flex-direction: column;
    }

    .wc-thankyou-btn {
        width: 100%;
    }
}


.function-add .btn,
.function-edit .btn{
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 20px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.function-add .btn-primary,
.function-edit .btn-primary{
    background-color: white;
    color: var(--primary-blue);
    border: 1.5px solid var(--primary-blue);
    min-width: 200px;
    justify-content: center;
}
.function-add .btn-primary:hover,
.function-edit .btn-primary:hover{
    background-color: #f0f4ff;
}


body.function-login,
body.function-register,
body.function-remind{


  /* Set the image file path */
  background-image: url('https://xlinesoft.com/projects/worldcup2026/images/background.png'); 

  /* Prevent the image from repeating as a grid */
  background-repeat: no-repeat; 

  /* Center the image horizontally and vertically */
  background-position: center center; 

  /* Scale the image to perfectly cover the screen */
  background-size: cover; 

  /* Keep the background fixed in place while scrolling */
  background-attachment: fixed; 

  /* Fallback color if the image fails to load */
  background-color: #cccccc; 


}

.function-login a,
.function-login a:hover,
.function-register a,
.function-register a:hover,
.function-register label
{
 color: white;   
 font-size: 120%;
}

.function-register h2 {
 color: white;   
 font-size: 32px;
}

.function-register input {
    color: #222;
}

.function-add a.btn.btn-primary.disabled,
.function-edit a.btn.btn-primary.disabled{
    background: grey;
}

#backToMenuButton1 {
    display: none;
}

.function-add label,
.function-edit label{
font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #061a3d;
    padding: 10px;
}