/* Widget Settings Tab Styles */
.preciousuite-widgets-fields-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    gap: 20px
}

.widget-tabs-nav {
    margin-bottom: 20px;
    border-bottom: 2px solid #eabe6c;
    background: #FFF0D566;
    padding: 10px 15px 10px 15px;
    border-radius: 30px;
    border: 2px dotted #ffffff;
}

.tab-buttons {
    display: flex;
    gap: 10px;
}

.tab-button {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-bottom: none;
    padding: 12px 24px;
    cursor: pointer;
    font-weight: 600;
    color: #495057;
    transition: all 0.3s ease;
    border-radius: 30px;
    margin-right: 2px;
    box-shadow: 3.93px 3.93px 0px #D4A041;
}

.tab-button:hover {
    background: #e9ecef;
    color: #212529;
}

.tab-button.active {
    border-color: #eabe6c;
    background: #891652;
    color: #ffffff;
}

label.preciousuite-label {
    color: #891652;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    color: #891652;
    margin-bottom: 20px;
    font-size: 18px;
    border-bottom: 2px solid #eabe6c;
    padding-bottom: 10px;
}

/* Widget 1 Enhanced Fields */
.preciousuite-field-row {
    display: flex;
    gap: 20px;
    align-items: flex-end;
}

.preciousuite-field-row .preciousuite-field {
    flex: 1;
}

.preciousuite-color-input {
    width: 60px;
    height: 40px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    padding: 2px;
}

.btn-secondary {
    background: #6c757d;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* Widget Preview Styles */
.widget-preview {
    border: 2px dashed #eabe6c;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    background: #fafafa;
}

.preview-container h4 {
    color: #891652;
    margin-bottom: 15px;
    font-size: 16px;
    text-align: center;
}

.preview-content {
    min-height: 200px;
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dee2e6;
}

.preview-content p {
    color: #6c757d;
    font-style: italic;
}

/* Shortcode Widget 1 Styles */
.pmrcgold-shortcode-widget-1 {
    padding: 15px 20px;
    border-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    margin: 20px 0;
}

.pmrcgold-widget-main {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.pmrcgold-currency-selector select {
    background: transparent;
    color: inherit;
    border: none;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
    outline: none;
}

.pmrcgold-currency-selector select option {
    background: #ffffff;
    color: #333333;
}

.pmrcgold-metals-display {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.pmrcgold-metal-badge {
    background: #ffffff;
    color: #333333;
    padding: 8px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pmrcgold-metal-badge .metal-name {
    color: #000080;
}

.pmrcgold-metal-badge .metal-price {
    color: #333333;
}

.pmrcgold-metal-badge .metal-change {
    font-size: 14px;
}

.pmrcgold-metal-badge .metal-change.up {
    color: #28a745;
}

.pmrcgold-metal-badge .metal-change.down {
    color: #dc3545;
}

.pmrcgold-widget-header {
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 14px;
    opacity: 0.9;
}

.pmrcgold-widget-footer {
    margin-top: 10px;
    font-size: 12px;
    opacity: 0.7;
    text-align: right;
}

.preciousuite-widget-field .widget_preview_btn {
    margin-top: 20px;
    display: inline-block;
    width: auto;
    padding: 12px;
}

.widget_metals_select{
    width: 100%;
}

.preciousuite-widget-hint {
    display: block;
}

.preciousuite-short-code-container{
    color: #495057;
    background: #FFF0D566;
    padding: 10px 15px 10px 15px;
    border-radius: 30px;
    border: 2px dotted #ffffff;
    margin-top: 20px;
}

.preciousuite-widget-field{
    margin-bottom: 20px;
}
