/* General Reset for Plugin Elements */
:root {
    --srr-primary: #6366f1; /* Indigo */
    --srr-primary-hover: #4f46e5;
    --srr-bg-dark: #0f172a;
    --srr-surface-dark: #1e293b;
    --srr-surface-light: rgba(255, 255, 255, 0.05);
    --srr-border: rgba(255, 255, 255, 0.1);
    --srr-text-main: #f8fafc;
    --srr-text-muted: #94a3b8;
    --srr-accent: #10b981; /* Emerald */
}

/* Base Wrapper to scope styles */
.srr-wrapper {
    font-family: 'Inter', sans-serif;
    color: var(--srr-text-main);
    background-color: var(--srr-bg-dark);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin: 2rem 0;
}

/* Glassmorphism Cards */
.srr-card {
    background: var(--srr-surface-light);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--srr-border);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.srr-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.srr-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.srr-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #fff;
    text-decoration: none;
}

.srr-card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--srr-primary);
    margin-bottom: 1rem;
}

.srr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Buttons */
.srr-btn {
    display: inline-block;
    background: var(--srr-primary);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.srr-btn:hover {
    background: var(--srr-primary-hover);
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.39);
}

.srr-btn-success {
    background: var(--srr-accent);
}
.srr-btn-success:hover {
    background: #059669;
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.39);
}

/* Single Property View */
.srr-single-header {
    background: var(--srr-surface-dark);
    padding: 3rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    border: 1px solid var(--srr-border);
}

.srr-single-title {
    font-size: 2.5rem;
    margin: 0 0 1rem 0;
    background: -webkit-linear-gradient(45deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.srr-booking-form {
    background: var(--srr-surface-light);
    border: 1px solid var(--srr-border);
    padding: 2rem;
    border-radius: 1rem;
}

.srr-form-group {
    margin-bottom: 1.5rem;
}

.srr-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--srr-text-muted);
}

.srr-form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--srr-border);
    border-radius: 0.5rem;
    color: #fff;
    font-family: inherit;
}
.srr-form-control:focus {
    outline: none;
    border-color: var(--srr-primary);
    box-shadow: 0 0 0 2px rgba(99,102,241,0.2);
}

/* Alerts */
.srr-alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}
.srr-alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}
.srr-alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Dashboard */
.srr-dashboard-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

.srr-sidebar {
    background: var(--srr-surface-dark);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--srr-border);
}

.srr-sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.srr-sidebar-menu li a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--srr-text-muted);
    text-decoration: none;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s;
}

.srr-sidebar-menu li a:hover,
.srr-sidebar-menu li a.active {
    background: var(--srr-surface-light);
    color: #fff;
}

/* Auto Login Popup modal */
.srr-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.srr-popup-overlay.srr-show {
    opacity: 1;
    visibility: visible;
}

.srr-popup-content {
    background: var(--srr-surface-dark);
    border: 1px solid var(--srr-border);
    border-radius: 1rem;
    width: 90%;
    max-width: 500px;
    padding: 2.5rem;
    position: relative;
    transform: translateY(20px);
    transition: all 0.4s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.srr-popup-overlay.srr-show .srr-popup-content {
    transform: translateY(0);
}

.srr-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--srr-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.srr-popup-close:hover {
    color: #fff;
}

.srr-popup-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    margin-top:0;
    color: var(--srr-text-main);
}

.srr-popup-desc {
    color: var(--srr-text-muted);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

.srr-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.srr-btn-outline {
    background: transparent;
    border: 2px solid var(--srr-primary);
    color: var(--srr-primary);
}

.srr-btn-outline:hover {
    background: rgba(99, 102, 241, 0.1);
    box-shadow: none;
}
