/* polaris-lite.css - A CSS-only mimic of Shopify Polaris */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    background-color: #f6f6f7;
    color: #212b36;
    font-size: 14px;
}

/* Layout */
.polaris-card {
    background: #ffffff;
    border: 1px solid #dfe3e8;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
}

.polaris-heading {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Buttons */
.polaris-button {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 6px;
    border: 1px solid transparent;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease;
    text-decoration: none;
}

.polaris-button--primary {
    background: #008060;
    color: white;
    border-color: #008060;
}

.polaris-button--primary:hover {
    background: #006c52;
}

.polaris-button--secondary {
    background: white;
    color: #202223;
    border: 1px solid #c4cdd5;
}

.polaris-button--secondary:hover {
    background: #f6f6f7;
}

/* Inputs */
.polaris-input,
.polaris-textarea,
.polaris-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #c4cdd5;
    border-radius: 6px;
    background-color: #fff;
    font-size: 14px;
}

.polaris-label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.polaris-note {
    color: #6d7175;
    font-size: 13px;
    margin-top: 4px;
}

/* Toggle Switch */
.polaris-switch {
    position: relative;
    width: 44px;
    height: 24px;
}

.polaris-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.polaris-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #c4cdd5;
    border-radius: 24px;
    transition: 0.4s;
}

.polaris-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: 0.4s;
}

.polaris-switch input:checked + .polaris-slider {
    background-color: #008060;
}

.polaris-switch input:checked + .polaris-slider:before {
    transform: translateX(20px);
}

/* Tags */
.polaris-tag {
    display: inline-block;
    background: #e0f1e8;
    color: #008060;
    padding: 4px 12px;
    border-radius: 20px;
    margin: 4px 4px 0 0;
    font-size: 13px;
}

.polaris-tag button {
    background: none;
    border: none;
    margin-left: 8px;
    font-weight: bold;
    color: #008060;
    cursor: pointer;
}
