/* Widget styles for SK Plugin */

/* Form error messages */
.error-message {
    color: #ff0000;
    font-size: 12px;
    margin-top: 5px;
}

/* Profile listings */
.sk-profile-image {
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
}

.sk-profile-back {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Ugly Mug form styles */
.ugly-mug-form {
    max-width: 700px;
    margin: 0 auto;
}

.ugly-mug-form .required-field {
    color: red;
}

.ugly-mug-form label {
    font-weight: 600;
    color: #360000;
    display: block;
    margin-bottom: 6px;
}

.ugly-mug-form small {
    display: block;
    margin-bottom: 10px;
    color: #666;
}

.ugly-mug-form input[type="file"] {
    padding: 10px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 100%;
}

.ugly-mug-form button[type="submit"] {
    padding: 10px 20px;
    background: #333;
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Incident severity section */
.incident-severity-section {
    color: #360000;
    margin-bottom: 15px;
    margin-top: 20px;
}

.incident-severity-section label {
    margin: 12px 0 !important;
}

.incident-option {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 13px !important;
    font-weight: normal !important;
    line-height: 1.4;
    cursor: pointer;
}

.incident-option input[type="radio"] {
    margin-left: 10px;
    margin-top: -5px;
    transform: scale(1.2);
    cursor: pointer;
}

.color-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50px;
    display: inline-block;
    margin-right: 25px;
}

.incident-text {
    flex: 1;
}

.incident-option.red .color-indicator {
    background-color: #e74c3c;
}

.incident-option.orange .color-indicator {
    background-color: #f39c12;
}

.incident-option.yellow .color-indicator {
    background-color: #f1c40f;
}

.sk-upload-error {
    color: red;
    font-weight: bold;
    margin: 10px 0;
}

.ugly-mug-success {
    padding: 30px;
    background: #eafae6;
    color: #285729;
    font-weight: bold;
    border-radius: 10px;
    margin: 20px 0;
}

/* Ugly Mug lookup styles */
.ugly-mugs-lookup-form {
    margin: 24px 50px 5px;
}

.ugly-mugs-lookup-form h2 {
    font-size: 1.3em;
    margin-bottom: 16px;
}

.ugly-mugs-lookup-form input[type="text"] {
    width: 100%;
    padding: 11px;
    border-radius: 6px;
    border: 1.2px solid #ccc;
    margin-bottom: 18px;
}

.ugly-mugs-lookup-form button[type="submit"] {
    padding: 7px 35px;
    background-color: #4d1f17;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.umg-search-results {
    margin: 24px 50px 5px;
}

.umg-search-results h3 {
    font-size: 1.08em;
    font-weight: 600;
    margin-bottom: 14px;
}

.umg-search-results ul {
    list-style: none;
    padding-left: 0;
}

.umg-search-results li {
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 20px;
    overflow: hidden;
}

.umg-incident-header {
    background: #e53935;
    color: #fff;
    padding: 10px 15px;
    display: flex;
    flex-wrap: wrap;
    font-weight: bold;
}

.umg-incident-header > div {
    flex: 1;
}

.umg-incident-details {
    padding: 16px;
    font-size: 15px;
    line-height: 1.6;
}

.umg-verification-section {
    margin-top: 15px;
    border-top: 1px solid #eee;
}

.umg-no-results {
    color: #b00;
    font-weight: 600;
}

.sk-report-incident-link {
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
    padding-bottom: 15px;
    font-weight: bold;
}

.sk-report-incident-link a {
    color: red;
}

.verify-report {
    background: white;
    color: #e74c3c;
    border: 2px solid #e74c3c;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 15px;
    margin-left: auto;
    display: block;
    width: fit-content;
}

.verify-report:hover {
    background: #e74c3c;
    color: white;
}

.verify-report:disabled,
.verify-report.verified {
    background: #6c757d;
    color: white;
    border-color: #6c757d;
    cursor: not-allowed;
}

.verify-report.verified {
    background: white;
    color: #e74c3c;
    border-color: #e74c3c;
}

.sk-login-required {
    color: #dc3545;
    font-style: italic;
    margin-top: 15px;
}

/* Notification styles */
.sk-notification {
    padding: 12px 20px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-weight: 600;
    position: relative;
}

.sk-notification-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.sk-notification-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Profile container styles */
.profile-container {
    background: transparent !important;
}

.profile-container img {
    height: 100% !important;
}

/* Dashboard styles */
.sk-my-listings-wrapper h3 {
    margin-bottom: 20px;
}

.sk-add-listing-link {
    border-radius: 10px;
    margin-top: 20px;
    background-color: #ddc99d;
    padding: 10px 25px;
    color: #350000;
    text-decoration: none;
    display: inline-block;
}

/* Grid layouts */
.sk-grid-item.sk-grid-span-4 {
    grid-column: span 4;
}

/* Top ads styles */
.sk-top-ads-slider-container {
    margin-bottom: 50px;
}

.sk-top-ad-card-content {
    background-color: #a88158;
}

.sk-top-ad-card-content.regular-ad {
    background-color: #f4ebe6;
}

.sk-top-ad-footer {
    background-color: #a88158;
}

.sk-top-ad-footer.regular-ad {
    background-color: #f4ebe6;
    border-color: #360000;
}

.sk-top-ad-recent {
    font-size: 11px;
}

.sk-top-ad-subtitle {
    font-size: 12px;
    color: #360000;
    font-weight: bold;
}

.sk-top-ad-suburb {
    color: #360000;
}

.sk-top-ad-price {
    color: #360000;
}

.review-count {
    font-size: 10px;
    color: #360000;
}

.stars {
    font-size: 14px;
}

.info-box {
    font-size: 10px;
    color: #360000;
    border-color: #360000;
}

.sk-online-indicator {
    color: #00c176;
    font-size: 8px;
}

.info-box.regular-ad {
    font-size: 10px;
    color: #360000;
    border-color: #360000;
}

/* Postcode search widget */
.sk-postcode-search-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Misc utility classes */
.sk-text-green {
    color: green;
}

.sk-text-whatsapp {
    color: #25D366;
    text-decoration: none;
}

.sk-flex-gap {
    display: flex;
    gap: 20px;
    align-items: center;
}

.sk-no-margin {
    margin: 0;
}

/* Button display controls */
body.logged-in #sk-dashboard-btn {
    display: block !important;
}

body:not(.logged-in) #sk-login-btn {
    display: block !important;
}

/* My Listings Widget */
.sk-my-listings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.sk-add-new-btn:hover {
    background-color: #c0a466 !important;
}

.sk-add-new-btn {
    padding: 5px 12px;
    background-color: #ddc99d;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    font-weight: bold;
    color: #350000;
    text-decoration: none;
}

.sk-add-new-btn:hover {
    background-color: #005bb5;
}

.sk-my-listings-wrapper h3 {
    color: #4d1f17;
    font-family: "Montserrat", Sans-serif;
    font-size: 20px;
    font-weight: bold;
    padding-left: 8px;
    margin-bottom: 10px;
}

.sk-my-listings-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.sk-my-listings-table th,
.sk-my-listings-table td {
    padding: 10px;
    border: 0;
    vertical-align: middle;
    border-block-start: none !important;
    text-align: left;
}

.sk-location-cell {
    width: 200px;
}

.sk-status-cell {
    width: 80px;
    text-align: center;
}

.action-field {
    width: 180px;
}

.sk-edit-listing-btn,
.sk-view-listing-btn {
    text-align: center;
    display: inline-block;
    padding: 5px 10px;
    background-color: #ddc99d;
    color: #350000;
    text-decoration: none;
    border-radius: 5px;
}

.sk-edit-listing-btn:hover,
.sk-view-listing-btn:hover {
    background-color: #b48652;
    color: #fff;
}

.sk-switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
}

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

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

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

input:checked + .slider.round {
    background-color: #4CAF50;
}

input:checked + .slider.round:before {
    transform: translateX(18px);
}

.action-field a {
    display: inline-block;
    width: auto;
    margin: 0 2px;
}

.sk-no-listings-message {
    padding: 20px 0 10px 0;
}

.sk-add-new-listing-btn {
    border-radius: 10px;
    margin-top: 20px;
    background-color: #ddc99d;
    padding: 10px 25px;
    color: #350000;
    text-decoration: none;
}

/* Location Popup Styles */
#sk-location-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    backdrop-filter: blur(2px);
}

.sk-location-popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #000;
    color: #fff;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    font-family: 'Poppins', Arial, sans-serif;
    min-width: 300px;
    border: 1px solid #333;
}

.sk-location-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
    padding: 5px;
    border-radius: 3px;
    transition: background-color 0.2s ease;
}

.sk-location-popup-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
}

.sk-location-popup-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sk-location-states {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.sk-location-state-link {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 12px 24px;
    border: 1px solid #fff;
    border-radius: 4px;
    width: 280px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
}

.sk-location-state-link:hover {
    background: #fff;
    color: #000;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
}

/* Prevent body scroll when popup is open */
body.popup-open {
    overflow: hidden;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .sk-location-popup-content {
        padding: 30px 20px;
        margin: 20px;
        min-width: unset;
        width: calc(100% - 40px);
    }
    
    .sk-location-popup-title {
        font-size: 20px;
        margin-bottom: 25px;
    }
    
    .sk-location-state-link {
        font-size: 16px;
        padding: 10px 20px;
        width: 250px;
    }
} 