/* Center the content */
.riffaz-wccc-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
}

.riffaz-wccc-wrap h1 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #fff;
    background-color: #0073aa;
    width: 100%;
    max-width: 500px;
    padding: 15px 30px;
    border-radius: 10px;
}

.riffaz-wccc-wrap form {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
}

/* Style for the toggle switch */
.riffaz-wccc-toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    vertical-align: middle;
    margin-left: 10px;
}

.riffaz-wccc-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.riffaz-wccc-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}

.riffaz-wccc-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .riffaz-wccc-toggle-slider {
    background-color: #0073aa;
}

input:checked + .riffaz-wccc-toggle-slider:before {
    transform: translateX(26px);
}

/* Style the settings fields */
.form-table th {
    text-align: left;
    padding: 10px 0;
    font-weight: 500;
    color: #444;
}

.form-table td {
    padding: 10px 0;
}

/* Style the submit button */
.button-primary {
    background: #0073aa !important;
    border-color: #005a87 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px 20px !important;
    font-size: 14px !important;
    margin-top: 20px !important;
}

.button-primary:hover {
    background: #005a87 !important;
    border-color: #003c5a !important;
}

.riffaz-wccc-wrap #submit { width: 100%; }
.riffaz-wccc-wrap .notice { display: none !important; }

/* mfi section */
.wccc-mfi-wrapper {
    position: relative;
    background-color: #f8fafc; /* Light background for a clean look */
    border: 1px solid #e2e8f0; /* Subtle border */
    border-radius: 8px; /* Rounded corners */
    padding: 20px 55px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* Soft shadow for depth */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; /* Modern font stack */
    font-size: 14px;
    line-height: 1.6;
    color: #334155; /* Dark gray text for readability */
    max-width: 500px; /* Limit width for better readability */
}

.wccc-mfi-content {
    margin-right: 30px; /* Space for the close button */
}

.wccc-mfi-link {
    color: #2563eb; /* Modern blue for links */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.wccc-mfi-link:hover {
    color: #1e40af; /* Darker blue on hover */
    text-decoration: underline;
}

.wccc-mfi-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    color: #64748b; /* Muted gray for the close button */
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 5px 10px;
    line-height: 1;
}

.wccc-mfi-close-btn:hover {
    color: #1e293b; /* Darker on hover */
}

.wccc-mfi-wrapper .wccc-mfi-content span { color: #dc3232; font-weight: 800; }

.riffaz-wccc-note-badge{
  display:inline-block;
  margin-left:8px;
  padding:2px 8px;
  font-size:12px;
  line-height:18px;
  background:#eef5ff;
  color:#0c64d2;
  border:1px solid #cfe0ff;
  border-radius:999px;
  vertical-align:middle;
}

.wccc-help-footer{
  margin-top: 16px;
  padding: 16px 0 6px;
  border-top: 1px solid #e5e5e5;
  text-align: center;
}
.wccc-help-title{
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
}
.wccc-help-line{
  margin: 4px 0;
  font-size: 13px;
}
.wccc-help-line a{
  text-decoration: none;
  color: #0c64d2; /* match your button blue */
}
.wccc-help-line a:hover{ text-decoration: underline; }
.wccc-emoji{ margin-right: 6px; }
