
.wp-xmas-brand-logo {
    width: 300px;
    /* adjust as needed */
    height: auto;
    display: block;
    border-radius: 8px;
}

.wp-xmas-container {
    margin: 20px 20px 0px 20px;
    max-width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.wp-xmas-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: auto;
    box-sizing: border-box;
    height: auto;
    flex-wrap: wrap;
    gap: 15px;
    height: 110px;
}

.wp-xmas-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.wp-xmas-header-icon {
    font-size: 35px;
}

.wp-xmas-header h2 {
    color: white;
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    padding: 0;
}

.wp-xmas-header-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin-top: 3px;
}

.wp-xmas-brand {
    text-align: right;
}

.wp-xmas-brand-name {
    color: white;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.wp-xmas-brand-link {
    color: #667eea;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.wp-xmas-brand-link:hover {
    color: #8b9cf7;
    text-decoration: underline;
}

.wp-xmas-settings-card {
    background: white;
    border-radius: 12px;
    padding: 25px 25px 10px 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    margin: 0px auto 20px auto;
    box-sizing: border-box;
    width: auto;
    max-width: 1000px;
}

.wp-xmas-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.wp-xmas-field-group {
    background: #f8f9fb;
    padding: 18px;
    border-radius: 10px;
    border: 1.5px solid #e8eaed;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.wp-xmas-field-group:hover {
    border-color: #667eea;
    box-shadow: 0 3px 12px rgba(102, 126, 234, 0.1);
}

.wp-xmas-field-group.full-width {
    grid-column: 1 / -1;
}

.wp-xmas-field-label {
    font-weight: 600;
    font-size: 13px;
    color: #1d2327;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.wp-xmas-field-label .emoji {
    font-size: 16px;
}

.wp-xmas-field-group select,
.wp-xmas-field-group input[type="number"],
.wp-xmas-field-group input[type="date"] {
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid #dcdcde;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.wp-xmas-field-group select:focus,
.wp-xmas-field-group input[type="number"]:focus,
.wp-xmas-field-group input[type="date"]:focus {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.wp-xmas-field-group input[type="color"] {
    width: 70px;
    height: 42px;
    padding: 2px;
    border: 1.5px solid #dcdcde;
    border-radius: 8px;
    cursor: pointer;
    background: white;
}

.wp-xmas-field-hint {
    font-size: 11px;
    color: #787c82;
    margin-top: 5px;
}

.wp-xmas-submit-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px auto 0px auto;
    /* padding-top: 20px; */
    border-top: 1px solid #e8eaed;
    height: fit-content;
    flex-wrap: wrap;
}

.wp-xmas-submit-area .button-primary {
    padding: 10px 30px !important;
    height: auto !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    color: white !important;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.4) !important;
    transition: all 0.3s !important;
}

.wp-xmas-submit-area .button-primary:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.6) !important;
}

.wp-xmas-footer {
    background: white;
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    width: auto;
    box-sizing: border-box;
}

.wp-xmas-footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wp-xmas-footer-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #fff);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
}

.wp-xmas-footer-info strong {
    display: block;
    color: #1d2327;
    font-size: 14px;
}

.wp-xmas-footer-info a {
    color: #667eea;
    text-decoration: none;
    font-size: 13px;
}

.wp-xmas-footer-info a:hover {
    text-decoration: underline;
}

.wp-xmas-contact-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.wp-xmas-contact-item {
    text-align: center;
}

.wp-xmas-contact-label {
    font-size: 11px;
    color: #787c82;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.wp-xmas-contact-email {
    color: #667eea;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.wp-xmas-contact-email:hover {
    text-decoration: underline;
}

.wp-xmas-dev-note {
    font-size: 12px;
    color: #787c82;
    line-height: 1.5;
    flex-basis: 100%;
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid #f0f0f1;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .wp-xmas-settings-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 782px) {
    .wp-xmas-settings-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .wp-xmas-header {
        flex-direction: column;
        text-align: center;
        padding: 15px 20px;
    }

    .wp-xmas-header-left {
        justify-content: center;
        text-align: center;
    }

    .wp-xmas-brand {
        text-align: center;
        width: 100%;
    }

    .wp-xmas-settings-card {
        padding: 15px;
    }

    .wp-xmas-field-group {
        padding: 15px;
    }

    .wp-xmas-contact-links {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        align-items: center;
    }

    .wp-xmas-footer {
        flex-direction: column;
        text-align: center;
        padding: 15px 20px;
    }

    .wp-xmas-footer-brand {
        justify-content: center;
        width: 100%;
    }

    .wp-xmas-submit-area {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .wp-xmas-submit-area span {
        text-align: center;
    }

    .wp-xmas-dev-note {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .wp-xmas-container {
        margin: 10px 10px 10px 0;
    }

    .wp-xmas-header h2 {
        font-size: 18px;
    }

    .wp-xmas-header-icon {
        font-size: 28px;
    }

    .wp-xmas-header-subtitle {
        font-size: 11px;
    }

    .wp-xmas-brand-name {
        font-size: 14px;
    }

    .wp-xmas-field-label {
        font-size: 12px;
    }

    .wp-xmas-submit-area .button-primary {
        width: 100%;
        text-align: center;
    }
}

/* WordPress admin sidebar adjustment */
.folded .wp-xmas-container {
    margin: 20px 15px 20px 0;
}

@media (max-width: 960px) {
    .auto-fold .wp-xmas-container {
        margin: 20px 15px 20px 0;
    }
}


.wp-xmas-icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 15px;
}

.wp-xmas-icon-item {
    position: relative;
    cursor: pointer;
    text-align: center;
}

.wp-xmas-icon-item input {
    display: none;
}

.wp-xmas-icon-item img {
    width: 60px;
    height: 60px;
    padding: 8px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #fff;
}

.wp-xmas-icon-item input:checked+img {
    border-color: #d63638;
    transform: scale(1.1);
}

.wp-xmas-footer-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}
.wp-xmas-default-badge{
    display:block;
    text-align:center;
    margin-top:5px;
    font-size:11px;
    font-weight:600;
    color:#16a34a;
}
.wp-xmas-submit-area{
    width:100%;
    display:flex;
    justify-content:center;
    margin-top:20px;
    clear:both;
}