/* Festool Monitor Public Styles */

.festool-products-grid {
    display: grid;
    gap: 20px;
    margin: 20px 0;
    /* Default responsive grid - starts with smaller minimum for better scaling */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Progressive responsive enhancement for larger screens */
@media (min-width: 992px) {
    .festool-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 24px;
    }
}

@media (min-width: 1200px) {
    .festool-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
        gap: 26px;
    }
}

@media (min-width: 1400px) {
    .festool-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
        gap: 28px;
    }
}

@media (min-width: 1600px) {
    .festool-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)) !important;
        gap: 30px;
    }
}

.festool-product-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.festool-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.product-image {
    position: relative;
    padding-bottom: 60%; /* 5:3 Aspect Ratio */
    overflow: hidden;
    background: #f5f5f5;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-info {
    padding: 15px;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #333;
    line-height: 1.3;
}

.product-prices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 4px;
}

.product-prices.on-sale .sales-price .price {
    color: #d63638;
    font-weight: bold;
}

.product-prices.on-sale .list-price .price {
    text-decoration: line-through;
    color: #666;
}

.list-price, .sales-price {
    text-align: center;
}

.list-price .label, .sales-price .label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.list-price .price, .sales-price .price {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.product-meta {
    margin-bottom: 15px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.last-seen {
    text-align: center;
}

.last-seen .label {
    font-size: 12px;
    color: #666;
    margin-right: 5px;
}

.last-seen .date {
    font-size: 13px;
    color: #333;
}

.notification-controls {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.notification-controls h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #333;
}

.notification-controls label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    cursor: pointer;
}

.notification-controls input[type="checkbox"] {
    margin-right: 8px;
}

.festool-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #666;
}

.festool-no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #666;
}

.festool-login-prompt {
    background: #f0f6fc;
    border: 1px solid #c3dbf7;
    border-radius: 4px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.festool-login-prompt p {
    margin: 0 0 10px 0;
}

.festool-login-prompt .button {
    display: inline-block;
    background: #0073aa;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    margin: 0 5px;
}

.festool-login-prompt .button:hover {
    background: #005a87;
    color: white;
}

/* Mobile and tablet specific overrides */
@media (max-width: 575px) {
    .festool-products-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    .festool-product-card {
        margin: 0 10px;
    }
    
    .product-name {
        font-size: 16px;
    }
    
    .product-prices {
        font-size: 14px;
    }
    
    .festool-refresh-button {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .festool-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px;
    }
    
    .product-name {
        font-size: 15px;
    }
}

/* Clear any fixed column behavior for larger screens */
@media (min-width: 768px) {
    .festool-products-grid {
        /* Let the default auto-fit behavior take over with smaller minimum */
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
        gap: 20px;
    }
}

/* Progressive responsive enhancement for larger screens */
@media (min-width: 992px) {
    .festool-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
        gap: 24px;
    }
}

@media (min-width: 1200px) {
    .festool-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
        gap: 26px;
    }
}

@media (min-width: 1400px) {
    .festool-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
        gap: 28px;
    }
}

@media (min-width: 1600px) {
    .festool-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 30px;
    }
}

/* Registration Form Styles */
.festool-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #e1e5e9;
}

.festool-form-container h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    text-align: center;
}

.festool-form-container > p {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-text {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 14px;
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

.form-group label:has(input[type="checkbox"]) {
    font-weight: normal;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.festool-register-btn {
    width: 100%;
    padding: 15px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.festool-register-btn:hover {
    background: #2980b9;
}

.festool-register-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}

.festool-login-link {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.festool-login-link a {
    color: #3498db;
    text-decoration: none;
}

.festool-login-link a:hover {
    text-decoration: underline;
}

#festool-register-messages {
    margin-top: 15px;
}

#festool-register-messages .error {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid #f5c6cb;
}

#festool-register-messages .success {
    background: #d4edda;
    color: #155724;
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid #c3e6cb;
}

.festool-already-registered {
    text-align: center;
    padding: 30px;
    background: #e8f4f8;
    border-radius: 8px;
    border: 1px solid #b8dce8;
}

.festool-already-registered p {
    margin-bottom: 15px;
}

.festool-already-registered .button {
    margin: 0 5px;
}

/* Mobile responsiveness for forms */
@media (max-width: 768px) {
    .festool-form-container {
        margin: 20px;
        padding: 20px;
    }
    
    .form-control {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* Animation for notification changes */
.notification-controls input[type="checkbox"] {
    transition: all 0.2s ease;
}

.notification-controls label:hover {
    background: rgba(0,115,170,0.05);
    padding: 2px 4px;
    border-radius: 2px;
}

/* Responsive columns fix: ensure columns increase smoothly with viewport width */
/* Keep a consistent minimum card width so more columns fit as space grows */
.festool-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
}

@media (max-width: 575px) {
    .festool-products-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .festool-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* End responsive columns fix */

/* Updated Tue Jul 29 15:33:41 MDT 2025 */

/* Strong final override to ensure >2 columns on wider viewports */
#festool-products-container.festool-products-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
    gap: 20px !important;
}

@media (min-width: 1400px) {
    #festool-products-container.festool-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    }
}

/* Products toolbar (search) */
.festool-products-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0 15px;
}
.festool-search-input {
    flex: 1 1 300px;
    max-width: 420px;
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}
.festool-search-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}
.festool-filter-count {
    color: #666;
    font-size: 13px;
}

@media (max-width: 575px) {
    .festool-products-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .festool-search-input {
        max-width: 100%;
        width: 100%;
    }
}

/* ============================================================
   Festool Notifications Page  [festool_notifications]
   ============================================================ */

.ft-notif-page {
    max-width: 820px;
    margin: 0 auto;
    font-size: 15px;
}

.ft-notif-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,.07);
}

.ft-notif-card h2 {
    margin: 0 0 6px;
    font-size: 1.25rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* Guest view */
.ft-notif-guest-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

/* Buttons */
.ft-btn {
    display: inline-block;
    padding: 9px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: none;
    line-height: 1.4;
    transition: background .15s, opacity .15s;
}
.ft-btn-primary  { background: #0073aa; color: #fff; }
.ft-btn-primary:hover  { background: #005d8e; color: #fff; }
.ft-btn-secondary { background: #f0f0f0; color: #333; border: 1px solid #ccc; }
.ft-btn-secondary:hover { background: #e2e2e2; }
.ft-btn:disabled  { opacity: .5; cursor: not-allowed; }

/* Type toggle */
.ft-notif-type-toggle {
    display: flex;
    gap: 0;
    border: 1px solid #0073aa;
    border-radius: 5px;
    overflow: hidden;
    width: fit-content;
    margin-bottom: 16px;
}
.ft-toggle-btn {
    padding: 7px 18px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    background: #fff;
    color: #0073aa;
    user-select: none;
    transition: background .15s, color .15s;
}
.ft-toggle-btn input[type="radio"] { display: none; }
.ft-toggle-btn.ft-active {
    background: #0073aa;
    color: #fff;
}

/* Picker */
.ft-picker-panel { margin-bottom: 12px; }

.ft-picker-search {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    margin-bottom: 6px;
    box-sizing: border-box;
}

.ft-picker-list {
    min-height: 150px;
    height: 320px; /* Increase default height so ~9 items fit at once */
    max-height: 600px;
    overflow-y: auto;
    resize: vertical; /* Let users adjust the list height to fit their screen */
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fafafa;
}

.ft-picker-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    transition: background .1s;
}
.ft-picker-item-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ft-picker-item:last-child { border-bottom: none; }
.ft-picker-item:hover    { background: #f0f0f0; }
.ft-picker-item.ft-selected { background: #dbeeff; font-weight: 600; }

/* Details link inside picker rows */
.ft-details-btn {
    flex-shrink: 0;
    margin-left: 10px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    color: #0073aa;
    background: none;
    border: 1px solid #0073aa;
    border-radius: 3px;
    cursor: pointer;
    transition: background .12s, color .12s;
    line-height: 1.6;
}
.ft-details-btn:hover {
    background: #0073aa;
    color: #fff;
}

/* Product details modal */
.ft-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.ft-modal-box {
    background: #fff;
    border-radius: 8px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px 28px 24px;
    position: relative;
    box-shadow: 0 8px 40px rgba(0,0,0,.25);
}
.ft-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    color: #666;
    cursor: pointer;
    padding: 0 4px;
}
.ft-modal-close:hover { color: #000; }
.ft-modal-prod-img {
    display: block;
    max-width: 100%;
    max-height: 220px;
    margin: 0 auto 16px;
    object-fit: contain;
    border-radius: 4px;
}
.ft-modal-prod-name {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 14px;
    color: #1d2327;
    line-height: 1.35;
}
.ft-modal-prices {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-bottom: 14px;
}
.ft-modal-prices th,
.ft-modal-prices td {
    padding: 7px 10px;
    border: 1px solid #e2e2e2;
    text-align: left;
}
.ft-modal-prices th {
    background: #f8f9fa;
    font-weight: 600;
    width: 36%;
}
.ft-modal-discount {
    color: #00a32a;
    font-size: 14px;
}
.ft-modal-desc {
    font-size: 13px;
    color: #444;
    line-height: 1.55;
    border-top: 1px solid #e9e9e9;
    padding-top: 12px;
    white-space: pre-wrap;
}

.ft-picker-loading,
.ft-picker-empty,
.ft-picker-error {
    padding: 12px;
    color: #666;
    font-size: 13px;
    text-align: center;
}
.ft-picker-error { color: #c00; }

/* Options row */
.ft-notif-options {
    display: flex;
    gap: 20px;
    margin: 14px 0 16px;
    flex-wrap: wrap;
}
.ft-notif-option {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    cursor: pointer;
}
.ft-sms-option { opacity: .55; cursor: default; }
.ft-coming-soon {
    font-size: 11px;
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 1px 5px;
    color: #555;
    margin-left: 2px;
}

/* Add row */
.ft-add-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.ft-active-count {
    font-size: 13px;
    color: #555;
}

/* Feedback messages */
.ft-msg {
    margin-top: 10px;
    padding: 9px 12px;
    border-radius: 5px;
    font-size: 13px;
}
.ft-msg-success { background: #edfbf0; border-left: 4px solid #00a32a; color: #145523; }
.ft-msg-error   { background: #fef0f0; border-left: 4px solid #d63638; color: #721c24; }

/* Notifications table */
.ft-notif-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-top: 6px;
}
.ft-notif-table th,
.ft-notif-table td {
    padding: 9px 10px;
    border: 1px solid #e2e2e2;
    vertical-align: middle;
}
.ft-notif-table thead th {
    background: #f8f9fa;
    font-weight: 600;
    text-align: left;
}
.ft-notif-table tbody tr:nth-child(even) { background: #fafafa; }

/* Badges */
.ft-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3px;
}
.ft-badge-active  { background: #edfbf0; color: #145523; border: 1px solid #7dd4a0; }
.ft-badge-expired { background: #f5f5f5; color: #666;    border: 1px solid #ccc; }

/* Small action buttons in table */
.ft-btn-sm {
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid #ccc;
    background: #f7f7f7;
    font-weight: 600;
    transition: background .12s;
}
.ft-btn-sm:hover { background: #e8e8e8; }
.ft-btn-remove     { border-color: #d63638; color: #d63638; }
.ft-btn-remove:hover { background: #fef0f0; }
.ft-btn-reactivate { border-color: #0073aa; color: #0073aa; }
.ft-btn-reactivate:hover { background: #dbeeff; }

/* History button in notifications table */
.ft-btn-history { border-color: #6c757d; color: #6c757d; }
.ft-btn-history:hover:not(:disabled) { background: #f8f9fa; }
.ft-btn-history:disabled { opacity: .4; cursor: not-allowed; }

/* Notification history modal */
.ft-modal-hist-subhead {
    font-size: 13px;
    color: #555;
    margin: -8px 0 14px;
}
.ft-modal-hist-empty {
    color: #666;
    font-size: 13px;
    padding: 10px 0;
}
.ft-modal-hist-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}
.ft-modal-hist-table th,
.ft-modal-hist-table td {
    padding: 7px 9px;
    border: 1px solid #e2e2e2;
    text-align: left;
    vertical-align: top;
}
.ft-modal-hist-table thead th {
    background: #f8f9fa;
    font-weight: 600;
    white-space: nowrap;
}
.ft-modal-hist-table tbody tr:nth-child(even) { background: #fafafa; }
.ft-hist-date  { white-space: nowrap; color: #555; font-size: 11px; }
.ft-hist-subject { font-size: 12px; line-height: 1.4; }

@media (max-width: 600px) {
    .ft-notif-card { padding: 16px; }
    .ft-notif-type-toggle { width: 100%; }
    .ft-toggle-btn { flex: 1; text-align: center; }
    .ft-notif-table { font-size: 12px; }
    .ft-notif-table th,
    .ft-notif-table td { padding: 6px 6px; }
}

/* WordPress inline login form styling */
#ft-login-form p {
    margin-bottom: 15px;
}
#ft-login-form label {
    display: block;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #444;
}
#ft-login-form input[type="text"],
#ft-login-form input[type="password"] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}
#ft-login-form input[type="text"]:focus,
#ft-login-form input[type="password"]:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}
#ft-login-form .login-remember {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #555;
}
#ft-login-form .login-remember input {
    margin: 0;
}
#ft-login-form .login-submit {
    margin-top: 20px;
}
#ft-login-form input[type="submit"] {
    width: 100%;
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.15s;
}
#ft-login-form input[type="submit"]:hover {
    background: #005d8e;
}

/* Grid size controls */
.festool-grid-controls {
    display: flex;
    align-items: center;
    background: #f1f3f5;
    padding: 3px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}
.festool-control-label {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 8px;
    margin-left: 6px;
}
.festool-grid-size-btn {
    background: none;
    border: none;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    color: #64748b;
}
.festool-grid-size-btn:hover {
    color: #334155;
}
.festool-grid-size-btn.active {
    background: #ffffff;
    color: #0073aa;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

@media (min-width: 576px) {
    .festool-products-grid[data-size="small"] {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
    }
    .festool-products-grid[data-size="medium"] {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    }
    .festool-products-grid[data-size="large"] {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    }
}

/* Modern SVG Icon Action Buttons for Notifications Table */
.ft-action-btn {
    background: none;
    border: none;
    padding: 6px;
    margin: 0 3px;
    color: #64748b; /* Sleek slate color */
    cursor: pointer;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
    vertical-align: middle;
}
.ft-action-btn svg {
    display: block;
}
.ft-action-btn:active {
    transform: scale(0.92);
}
.ft-action-btn.ft-btn-reactivate:hover {
    background-color: #ecfdf5;
    color: #059669; /* Elegant green for renew/reactivate */
}
.ft-action-btn.ft-btn-history:hover:not(:disabled) {
    background-color: #eff6ff;
    color: #2563eb; /* Elegant blue for history */
}
.ft-action-btn.ft-btn-remove:hover {
    background-color: #fef2f2;
    color: #dc2626; /* Elegant red for remove */
}
.ft-action-btn:disabled {
    color: #cbd5e1;
    cursor: not-allowed;
    background-color: transparent !important;
}

.ft-actions-cell {
    white-space: nowrap !important;
    text-align: center !important;
    width: 1%; /* Shrinkactions column to fit only the content */
}
