/* ===================================
   Custom Property Template Styles
   =================================== */

/* Root Variables */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #10b981;
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-lighter: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   Property Container
   =================================== */
.property-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Property Header
   =================================== */
.property-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.property-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.deal-room-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
}

.deal-room-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1e3a8a 100%);
}

.deal-room-link::after {
    content: "→";
    font-size: 1.2em;
    transition: var(--transition);
}

.deal-room-link:hover::after {
    transform: translateX(4px);
}

/* ===================================
   Property Gallery
   =================================== */
.property-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Gallery Lightbox Effect */
.gallery-item::after {
    content: "🔍";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 3rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    opacity: 0;
}

.gallery-item:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* ===================================
   Property Details Grid
   =================================== */
.property-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    padding: 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: var(--radius-lg);
    margin-bottom: 50px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.property-details>div {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: white;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.property-details>div:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.property-details .label {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.property-details .value {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
}

.property-price {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
    padding: 30px !important;
    border-radius: var(--radius-md) !important;
}

.property-price .label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.property-price .value {
    color: white;
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

/* ===================================
   Property Description
   =================================== */
.property-description {
    margin-bottom: 50px;
    padding: 40px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.property-description h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

.property-description p {
    line-height: 1.8;
    color: var(--text-medium);
    font-size: 1.1rem;
}

/* ===================================
   Address & Location
   =================================== */
.property-address,
.property-map {
    margin-bottom: 50px;
    padding: 40px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.property-address h2,
.property-map h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.property-address h2::before {
    content: "📍";
    font-size: 1.5rem;
}

.property-map h2::before {
    content: "🗺️";
    font-size: 1.5rem;
}

.property-address address {
    font-style: normal;
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--text-medium);
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary-color);
}

.acf-map {
    width: 100%;
    height: 450px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ===================================
   Property Features
   =================================== */
.property-features {
    margin-bottom: 50px;
    padding: 40px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.property-features h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.property-features ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
}

.property-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    color: var(--text-medium);
    transition: var(--transition);
    border: 1px solid transparent;
}

.property-features li:hover {
    background: white;
    border-color: var(--secondary-color);
    transform: translateX(5px);
}

.property-features li::before {
    content: "✓";
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.3rem;
    background: rgba(16, 185, 129, 0.1);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ===================================
   Agent Information
   =================================== */
.property-agent {
    margin-bottom: 50px;
    padding: 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.property-agent h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.agent-info {
    display: flex;
    gap: 30px;
    align-items: center;
    padding: 30px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.agent-info:hover {
    box-shadow: var(--shadow-lg);
}

.agent-info img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    box-shadow: var(--shadow-md);
}

.agent-details h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.agent-details p {
    margin: 8px 0;
    color: var(--text-medium);
    font-size: 1rem;
}

.agent-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.agent-details a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ===================================
   Virtual Tour Button
   =================================== */
.property-virtual-tour {
    text-align: center;
    margin: 50px 0;
}

.property-virtual-tour .button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #059669 100%);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.property-virtual-tour .button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.property-virtual-tour .button::before {
    content: "🎥";
    font-size: 1.5rem;
}

/* ===================================
   Property Files / Documents
   =================================== */
.property-files {
    margin-bottom: 50px;
    padding: 40px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.property-files h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.property-files h2::before {
    content: "📄";
    font-size: 1.5rem;
}

.files-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.file-item:hover {
    background: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.file-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.file-icon .dashicons {
    color: white;
    font-size: 28px;
    width: 28px;
    height: 28px;
}

.file-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.file-link {
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.15rem;
    transition: var(--transition);
}

.file-link:hover {
    color: var(--primary-color);
}

.file-meta {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.download-btn {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.download-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-md);
}

.download-btn .dashicons {
    color: white;
    font-size: 24px;
    width: 24px;
    height: 24px;
}

/* ===================================
   Deal Room Styles
   =================================== */
.deal-room {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    animation: fadeIn 0.6s ease-in;
}

.deal-room h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
}

.deal-room h1::before {
    content: "🔒";
    font-size: 2rem;
}

.deal-room-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.deal-room-content section {
    padding: 40px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.deal-room-content section:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.deal-room-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

.documents h2::before {
    content: "📋 ";
}

.financial-info h2::before {
    content: "💰 ";
}

.contact h2::before {
    content: "👤 ";
}

.deal-room-content section>*:not(h2) {
    line-height: 1.8;
    color: var(--text-medium);
    font-size: 1.05rem;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1200px) {

    .property-container,
    .deal-room {
        padding: 30px 15px;
    }
}

@media (max-width: 768px) {
    .property-gallery {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 280px;
    }

    .property-details {
        grid-template-columns: 1fr;
        padding: 25px;
    }

    .property-price {
        padding: 25px !important;
    }

    .property-price .value {
        font-size: 2rem;
    }

    .property-description,
    .property-address,
    .property-map,
    .property-features,
    .property-agent,
    .property-files,
    .deal-room-content section {
        padding: 25px;
    }

    .agent-info {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

    .file-item {
        flex-wrap: wrap;
        padding: 18px;
    }

    .download-btn {
        width: 100%;
        border-radius: var(--radius-sm);
        height: 48px;
    }

    .property-features ul {
        grid-template-columns: 1fr;
    }

    .acf-map {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .property-title {
        font-size: 1.75rem;
    }

    .deal-room h1 {
        font-size: 1.5rem;
        padding: 20px;
    }

    .property-details .value {
        font-size: 1.15rem;
    }

    .property-description h2,
    .property-address h2,
    .property-map h2,
    .property-features h2,
    .property-agent h2,
    .property-files h2,
    .deal-room-content h2 {
        font-size: 1.5rem;
    }
}

/* ===================================
   Loading Animation
   =================================== */
.loading {
    opacity: 0;
    animation: fadeIn 0.6s ease-in forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out;
}

/* ===================================
   Print Styles
   =================================== */
@media print {

    .deal-room-link,
    .download-btn,
    .property-virtual-tour {
        display: none;
    }

    .property-container,
    .deal-room {
        max-width: 100%;
        padding: 0;
    }

    .property-details,
    .property-description,
    section {
        break-inside: avoid;
        box-shadow: none;
    }
}

/* ===================================
   AMC-RE Properties Listing Page Styles
   =================================== */

/* Color Palette - AMC-RE Brand */
:root {
    --amcre-dark-green: #1a3a34;
    --amcre-gold: #c9a961;
    --amcre-light-bg: #f9fafb;
    --amcre-text-dark: #1f2937;
    --amcre-red-accent: #d14949;
}

/* Properties Hero Section */
.properties-hero {
    position: relative;
    height: 400px;
    background: linear-gradient(rgba(26, 58, 52, 0.7), rgba(26, 58, 52, 0.8)),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
}

.properties-hero-content {
    text-align: center;
}

.properties-hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 400;
    color: white;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0;
}

/* Properties Page Container */
.properties-page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 80px;
}

/* Section Title */
.section-title {
    font-size: 2rem;
    font-weight: 400;
    color: var(--amcre-text-dark);
    letter-spacing: 0.05em;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: var(--amcre-gold);
}

/* Properties Grid */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

/* Property Card */
.property-card {
    position: relative;
    text-decoration: none;
    overflow: hidden;
    background: white;
    border-radius: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.property-card-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.property-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.property-card:hover .property-card-image img {
    transform: scale(1.1);
}

.property-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(26, 58, 52, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.property-card:hover .property-card-overlay {
    opacity: 1;
}

.property-arrow {
    color: var(--amcre-gold);
    font-size: 2rem;
    font-weight: 300;
    transform: translateX(-10px);
    transition: transform 0.3s ease;
}

.property-card:hover .property-arrow {
    transform: translateX(0);
}

.property-card-content {
    padding: 25px;
    background: var(--amcre-dark-green);
}

.property-card-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: white;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.property-card-location {
    font-size: 0.875rem;
    color: var(--amcre-gold);
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.05em;
}

/* Partner Section */
.partner-section {
    background: linear-gradient(135deg, var(--amcre-dark-green) 0%, #0f2621 100%);
    padding: 80px 60px;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.partner-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M30,30 Q50,10 70,30 T90,70" fill="none" stroke="rgba(201,169,97,0.1)" stroke-width="0.5"/></svg>');
    opacity: 0.3;
}

.partner-content {
    position: relative;
    z-index: 1;
}

.partner-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.partner-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: white;
    margin: 0 0 25px 0;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.partner-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin: 0 0 40px 0;
}

.partner-cta-btn {
    display: inline-block;
    padding: 16px 45px;
    background: var(--amcre-red-accent);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.partner-cta-btn:hover {
    background: #b83838;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(209, 73, 73, 0.3);
}

/* ===================================
   AMC-RE Single Property Detail Page Styles
   =================================== */

/* Single Property Container */
.single-property-container {
    background: var(--amcre-light-bg);
}

/* Property Hero Section */
.property-hero-section {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.property-hero-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.property-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.investment-opportunity-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    background: var(--amcre-gold);
    color: var(--amcre-dark-green);
    padding: 12px 30px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: capitalize;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Property Content Wrapper */
.property-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* Left Column */
.property-left-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.property-name-card {
    background: transparent;
}

.property-name {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 500;
    color: var(--amcre-dark-green);
    margin: 0;
    line-height: 1.3;
}

/* Property Details Card */
.property-details-card {
    background: white;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.property-details-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.property-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--amcre-dark-green);
    margin: 0 0 30px 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.property-details-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 30px;
}

.property-details-table tr {
    transition: all 0.3s ease;
}

.property-details-table tr:hover {
    background: var(--amcre-light-bg);
}

.property-details-table tr:first-child td {
    padding-top: 20px;
}

.property-details-table tr:last-child td {
    padding-bottom: 20px;
}

.property-details-table td {
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.property-details-table tr:last-child td {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--amcre-dark-green);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: 45%;
    position: relative;
    padding-left: 0;
}

.detail-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--amcre-gold);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.property-details-table tr:hover .detail-label::before {
    opacity: 1;
}

.property-details-table tr:hover .detail-label {
    padding-left: 16px;
}

.detail-value {
    color: var(--amcre-text-dark);
    font-size: 1.05rem;
    font-weight: 500;
    text-align: right;
}

.rating-logo {
    display: inline-block;
    height: 20px;
    margin-left: 8px;
    vertical-align: middle;
}

.login-register-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: var(--amcre-gold);
    color: var(--amcre-dark-green);
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.05em;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.login-register-btn:hover {
    background: var(--amcre-dark-green);
    color: var(--amcre-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(26, 58, 52, 0.3);
}

.deal-room-subtitle {
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
    font-style: italic;
}

.deal-room-subtitle.access-granted {
    color: #059669;
    font-weight: 600;
    font-style: normal;
}

/* Register Interest Button */
.register-interest-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: var(--amcre-dark-green);
    color: white;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.05em;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.register-interest-btn svg {
    width: 20px;
    height: 20px;
}

.register-interest-btn:hover {
    background: #0f2621;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(26, 58, 52, 0.3);
}

/* Deal Room Access Button (for approved users) */
.deal-room-access-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.05em;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.deal-room-access-btn svg {
    width: 20px;
    height: 20px;
}

.deal-room-access-btn:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(5, 150, 105, 0.4);
}

/* Access Status Messages */
.access-message {
    padding: 16px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.access-message strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1rem;
}

.access-requested {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.access-already_requested {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

/* Pending Approval Notice */
.pending-approval-notice {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 6px;
    margin-bottom: 10px;
}

.pending-approval-notice svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    stroke: #856404;
    margin-top: 2px;
}

.pending-approval-notice strong {
    display: block;
    color: #856404;
    font-size: 1rem;
    margin-bottom: 6px;
}

.pending-approval-notice p {
    margin: 0;
    color: #856404;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Rejected Notice */
.access-rejected-notice {
    padding: 20px;
    background: #f8d7da;
    border: 2px solid #f5c6cb;
    border-radius: 6px;
    color: #721c24;
    text-align: center;
    margin-bottom: 10px;
}

.access-rejected-notice p {
    margin: 0;
    font-size: 0.95rem;
}

/* Deal Room No Access Page */
.deal-room-no-access {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--amcre-light-bg);
}

.no-access-content {
    max-width: 600px;
    text-align: center;
    padding: 60px 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.no-access-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--amcre-dark-green) 0%, #0f2621 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-access-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--amcre-gold);
}

.deal-room-no-access h1 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--amcre-dark-green);
    margin: 0 0 15px 0;
}

.deal-room-no-access p {
    font-size: 1.1rem;
    color: #6b7280;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.deal-room-no-access .pending-notice {
    background: #fff3cd;
    padding: 20px;
    border-radius: 6px;
    margin: 30px 0;
    border: 1px solid #ffc107;
}

.deal-room-no-access .pending-notice p {
    color: #856404;
    margin: 8px 0 0 0;
    font-size: 0.95rem;
}

.deal-room-no-access .pending-notice strong {
    color: #856404;
    font-size: 1rem;
}

.deal-room-no-access .btn-back-to-property {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 35px;
    background: var(--amcre-dark-green);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-top: 30px;
}

.deal-room-no-access .btn-back-to-property svg {
    width: 20px;
    height: 20px;
}

.deal-room-no-access .btn-back-to-property:hover {
    background: #0f2621;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(26, 58, 52, 0.3);
}

/* ===================================
   Interest Registration Modal
   =================================== */

.interest-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.interest-modal.active {
    display: flex;
}

.interest-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 58, 52, 0.95);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.interest-modal-content {
    position: relative;
    z-index: 1;
    background: white;
    border-radius: 12px;
    max-width: 550px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.4s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.interest-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: var(--amcre-light-bg);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.interest-modal-close:hover {
    background: #e5e7eb;
    transform: rotate(90deg);
}

.interest-modal-close svg {
    width: 20px;
    height: 20px;
    stroke: var(--amcre-dark-green);
}

.interest-modal-header {
    padding: 50px 40px 30px;
    text-align: center;
    border-bottom: 2px solid var(--amcre-light-bg);
}

.interest-modal-header svg {
    width: 60px;
    height: 60px;
    stroke: var(--amcre-gold);
    margin-bottom: 20px;
}

.interest-modal-header h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--amcre-dark-green);
    margin: 0 0 12px 0;
}

.interest-modal-header p {
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

.interest-form {
    padding: 40px;
}

.form-message {
    display: none;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.form-message.success,
.form-message.error {
    display: flex;
}

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

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

.form-message svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.form-message strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1rem;
}

.form-message p {
    margin: 0;
    line-height: 1.5;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--amcre-dark-green);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group .required {
    color: #ef4444;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--amcre-gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

.form-group input::placeholder {
    color: #9ca3af;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.btn-cancel,
.btn-submit {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.btn-cancel {
    background: var(--amcre-light-bg);
    color: var(--amcre-text-dark);
    border: 2px solid #e5e7eb;
}

.btn-cancel:hover {
    background: #e5e7eb;
}

.btn-submit {
    background: var(--amcre-gold);
    color: var(--amcre-dark-green);
    position: relative;
}

.btn-submit:hover:not(:disabled) {
    background: #b8935a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.3);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-submit .btn-loading {
    display: none;
    align-items: center;
    gap: 8px;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: flex;
    justify-content: center;
}

.spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Modal Responsive Styles */
@media (max-width: 768px) {
    .interest-modal {
        padding: 10px;
    }

    .interest-modal-header {
        padding: 40px 25px 25px;
    }

    .interest-modal-header h2 {
        font-size: 1.5rem;
    }

    .interest-modal-header svg {
        width: 50px;
        height: 50px;
    }

    .interest-form {
        padding: 30px 25px;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-cancel,
    .btn-submit {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .interest-modal-header {
        padding: 35px 20px 20px;
    }

    .interest-modal-header h2 {
        font-size: 1.25rem;
    }

    .interest-form {
        padding: 25px 20px;
    }

    .form-group input {
        padding: 12px 14px;
    }
}

/* ===================================
   OTP Verification Gate
   =================================== */

.deal-room-otp-gate {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    background: var(--amcre-dark-green);
}

.otp-gate-content {
    max-width: 480px;
    width: 100%;
    position: relative;
}

.otp-gate-header {
    text-align: left;
    padding: 0 0 36px 0;
    background: none;
    color: white;
}

.otp-icon {
    display: none;
}

.otp-gate-header h1 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 14px 0;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.2;
}

.otp-gate-header h1::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: #E4652D;
    margin-top: 10px;
}

.otp-gate-header h2 {
    font-size: 1rem;
    font-weight: 400;
    margin: 18px 0 6px 0;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.02em;
}

.otp-gate-header p {
    font-size: 0.95rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
}

.otp-form {
    padding: 0;
}

.otp-form .form-message {
    display: none;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-left: 4px solid #E4652D;
    background: rgba(228, 101, 45, 0.12);
    border-radius: 0 4px 4px 0;
    margin-bottom: 28px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.otp-form .form-message.success,
.otp-form .form-message.error {
    display: flex;
}

.otp-form .form-message.success {
    border-left-color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    color: rgba(255, 255, 255, 0.9);
}

.otp-form .form-message.error {
    border-left-color: #E4652D;
    background: rgba(228, 101, 45, 0.12);
    color: rgba(255, 255, 255, 0.9);
}

.otp-form .form-message svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.otp-input-group {
    margin-bottom: 32px;
}

.otp-input-group label {
    display: block;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 18px;
    font-size: 0.75rem;
    text-align: left;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.otp-inputs {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    margin-bottom: 0;
}

.otp-digit {
    width: 48px;
    height: 52px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 0;
    color: #ffffff;
    transition: border-color 0.25s ease;
    font-family: inherit;
}

.otp-digit:focus {
    outline: none;
    border-bottom-color: #E4652D;
    box-shadow: none;
    transform: none;
}

.btn-verify-otp {
    width: 100%;
    padding: 16px;
    background: #E4652D;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0;
    font-family: inherit;
}

.btn-verify-otp:hover:not(:disabled) {
    background: #cf5826;
}

.btn-verify-otp:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.btn-verify-otp .btn-loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-verify-otp.loading .btn-text {
    display: none;
}

.btn-verify-otp.loading .btn-loading {
    display: flex;
}

.otp-help {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.otp-help p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 12px 0;
    line-height: 1.6;
}

.btn-resend-otp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.65);
    border: none;
    font-size: 0.875rem;
    font-weight: 400;
    cursor: pointer;
    transition: color 0.25s ease;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-family: inherit;
}

.btn-resend-otp svg {
    width: 15px;
    height: 15px;
}

.btn-resend-otp:hover {
    color: #E4652D;
    transform: none;
}

.btn-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 0;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    transition: color 0.25s ease;
    border-radius: 0;
}

.btn-back-link svg {
    width: 15px;
    height: 15px;
}

.btn-back-link:hover {
    color: rgba(255, 255, 255, 0.75);
    background: transparent;
}

/* Resend OTP Modal */
.resend-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.resend-modal.active {
    display: flex;
}

.resend-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.resend-modal-content {
    position: relative;
    z-index: 1;
    background: var(--amcre-dark-green);
    border-radius: 4px;
    max-width: 440px;
    width: 100%;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideInUp 0.3s ease;
}

.resend-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, background 0.2s ease;
    color: rgba(255, 255, 255, 0.45);
}

.resend-modal-close:hover {
    color: #E4652D;
    background: rgba(228, 101, 45, 0.1);
    transform: none;
}

.resend-modal-close svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.resend-modal-header {
    padding: 0 0 28px 0;
    text-align: left;
    border-bottom: none;
}

.resend-modal-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.resend-modal-header h3::after {
    content: '';
    display: block;
    width: 35px;
    height: 3px;
    background: #E4652D;
    margin-top: 8px;
}

.resend-modal-header p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 16px 0 0 0;
    line-height: 1.6;
}

.resend-form {
    padding: 0;
}

.resend-message {
    display: none;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-left: 4px solid #E4652D;
    background: rgba(228, 101, 45, 0.12);
    border-radius: 0 4px 4px 0;
    margin-bottom: 20px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.resend-message.success,
.resend-message.error {
    display: flex;
}

.resend-message.success {
    border-left-color: #10b981;
    background: rgba(16, 185, 129, 0.12);
}

.resend-message.error {
    border-left-color: #E4652D;
    background: rgba(228, 101, 45, 0.12);
}

.resend-message svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.resend-modal .form-group {
    margin-bottom: 28px;
}

.resend-modal .form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.resend-modal .form-group input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 0.95rem;
    padding: 10px 0;
    transition: border-color 0.25s ease;
    border-radius: 0;
    outline: none;
    font-family: inherit;
}

.resend-modal .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.resend-modal .form-group input:focus {
    border-bottom-color: #E4652D;
    outline: none;
    box-shadow: none;
}

.resend-form .form-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.btn-cancel-resend,
.btn-submit-resend {
    flex: 1;
    padding: 14px 20px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: inherit;
}

.btn-cancel-resend {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-cancel-resend:hover {
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff;
    background: transparent;
}

.btn-submit-resend {
    background: #E4652D;
    color: #ffffff;
    border: none;
}

.btn-submit-resend:hover:not(:disabled) {
    background: #cf5826;
    transform: none;
}

.btn-submit-resend:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.btn-submit-resend .btn-loading {
    display: none;
    align-items: center;
    gap: 8px;
}

.btn-submit-resend.loading .btn-text {
    display: none;
}

.btn-submit-resend.loading .btn-loading {
    display: flex;
    justify-content: center;
}

/* OTP Responsive Styles */
@media (max-width: 768px) {
    .otp-gate-header {
        padding: 0 0 28px 0;
    }

    .otp-gate-header h1 {
        font-size: 1.35rem;
    }

    .otp-gate-header h2 {
        font-size: 0.9rem;
    }

    .otp-inputs {
        gap: 10px;
    }

    .otp-digit {
        width: 42px;
        height: 48px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .deal-room-otp-gate {
        padding: 80px 24px 40px;
        align-items: flex-start;
    }

    .otp-gate-header h1 {
        font-size: 1.2rem;
    }

    .otp-gate-header h2 {
        font-size: 0.875rem;
    }

    .otp-inputs {
        gap: 8px;
    }

    .otp-digit {
        width: 38px;
        height: 44px;
        font-size: 1.15rem;
    }

    .resend-modal-content {
        padding: 30px 24px;
        margin: 10px;
    }

    .resend-form .form-actions {
        flex-direction: column;
    }

    .btn-cancel-resend,
    .btn-submit-resend {
        width: 100%;
    }
}

/* ===================================
   Request Access Modal
   =================================== */

.ram-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ram-modal.active {
    display: flex;
}

.ram-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.ram-content {
    position: relative;
    z-index: 1;
    background: var(--amcre-dark-green);
    width: 100%;
    max-width: 520px;
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    animation: slideInUp 0.3s ease;
}

.ram-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color 0.2s ease, background 0.2s ease;
    padding: 0;
    font-family: inherit;
}

.ram-close:hover {
    color: #E4652D;
    background: rgba(228, 101, 45, 0.1);
}

.ram-header {
    margin-bottom: 30px;
}

.ram-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 14px 0;
    line-height: 1.2;
}

.ram-header h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: #E4652D;
    margin-top: 10px;
}

.ram-header p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 16px 0 0 0;
    line-height: 1.65;
}

.ram-field {
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: border-color 0.25s ease;
}

.ram-field:focus-within {
    border-bottom-color: #E4652D;
}

.ram-field input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 0.95rem;
    padding: 14px 0;
    font-family: inherit;
}

.ram-field input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.ram-notice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: rgba(228, 101, 45, 0.1);
    border-left: 4px solid #E4652D;
    border-radius: 0 4px 4px 0;
    padding: 14px 16px;
    margin: 24px 0;
}

.ram-notice svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #E4652D;
    margin-top: 1px;
}

.ram-notice p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.6;
}

.ram-message {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 0.875rem;
    line-height: 1.5;
}

.ram-message.success {
    border-left: 4px solid #10b981;
    background: rgba(16, 185, 129, 0.12);
    color: rgba(255, 255, 255, 0.9);
}

.ram-message.error {
    border-left: 4px solid #E4652D;
    background: rgba(228, 101, 45, 0.12);
    color: rgba(255, 255, 255, 0.9);
}

.ram-submit {
    width: 100%;
    padding: 16px;
    background: #E4652D;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.25s ease;
    font-family: inherit;
}

.ram-submit:hover:not(:disabled) {
    background: #cf5826;
}

.ram-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.ram-btn-loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ram-submit.loading .ram-btn-text {
    display: none;
}

.ram-submit.loading .ram-btn-loading {
    display: flex;
}

@media (max-width: 480px) {
    .ram-content {
        padding: 30px 24px;
    }

    .ram-header h2 {
        font-size: 1.25rem;
    }
}

/* Right Column */
.property-right-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.investment-summary-card,
.key-metrics-card {
    background: white;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.summary-points {
    margin: 0;
    padding: 0;
    list-style: none;
}

.summary-points li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
    line-height: 1.7;
    color: #4b5563;
    font-size: 1rem;
}

.summary-points li:last-child {
    margin-bottom: 0;
}

.summary-points li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--amcre-gold);
    font-size: 1.2rem;
}

/* Key Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 20px;
    background: var(--amcre-light-bg);
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.metric-item:hover {
    background: var(--amcre-dark-green);
}

.metric-item:hover .metric-label,
.metric-item:hover .metric-value {
    color: white;
}

.metric-item:hover .metric-icon svg {
    stroke: var(--amcre-gold);
}

.metric-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.metric-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--amcre-dark-green);
    transition: stroke 0.3s ease;
}

.metric-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.metric-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--amcre-dark-green);
    transition: color 0.3s ease;
}

/* Additional Information Sections */
.property-additionals-wrapper {
    max-width: 1400px;
    margin: 60px auto 0;
    padding: 0 60px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.additional-section {
    background: white;
    padding: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--amcre-gold);
    transition: all 0.3s ease;
}

.additional-section:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-left-width: 6px;
}

.additional-heading {
    font-family: inherit, sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--amcre-dark-green);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--amcre-gold);
    position: relative;
}

.additional-heading::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--amcre-dark-green);
}

.additional-content {
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.8;
}

.additional-content p {
    margin: 0 0 20px 0;
}

.additional-content p:last-child {
    margin-bottom: 0;
}

.additional-content ul,
.additional-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.additional-content li {
    margin-bottom: 12px;
    color: #4b5563;
    line-height: 1.8;
}

.additional-content li::marker {
    color: var(--amcre-gold);
    font-weight: 700;
}

.additional-content strong {
    color: var(--amcre-dark-green);
    font-weight: 600;
}

.additional-content a {
    color: var(--amcre-dark-green);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.additional-content a:hover {
    color: var(--amcre-gold);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .property-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 20px;
    }

    .metrics-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .properties-hero {
        height: 300px;
    }

    .properties-hero-title {
        font-size: 2.5rem;
    }

    .properties-page-container {
        padding: 0 20px 60px;
    }

    .properties-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .property-card-image {
        height: 250px;
    }

    .partner-section {
        padding: 60px 30px;
    }

    .partner-title {
        font-size: 2rem;
    }

    .property-hero-section {
        height: 350px;
    }

    .investment-opportunity-badge {
        top: 20px;
        left: 20px;
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .property-details-card,
    .investment-summary-card,
    .key-metrics-card {
        padding: 30px 20px;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .property-additionals-wrapper {
        padding: 0 20px;
        margin-top: 40px;
        gap: 30px;
    }

    .additional-section {
        padding: 30px 20px;
    }

    .additional-heading {
        font-size: 1.35rem;
        margin-bottom: 20px;
    }

    .additional-content {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .properties-hero-title {
        font-size: 2rem;
    }

    .property-name {
        font-size: 1.5rem;
    }

    .property-section-title {
        font-size: 1.25rem;
    }

    .detail-label,
    .detail-value {
        font-size: 0.9rem;
    }

    .property-details-table td {
        padding: 16px 12px;
    }

    .detail-label {
        font-size: 0.8rem;
    }

    .detail-value {
        font-size: 0.95rem;
    }

    .register-interest-btn,
    .login-register-btn,
    .deal-room-access-btn {
        padding: 14px;
        font-size: 0.9rem;
    }

    .pending-approval-notice {
        padding: 16px;
        gap: 12px;
    }

    .pending-approval-notice svg {
        width: 24px;
        height: 24px;
    }

    .no-access-content {
        padding: 40px 25px;
    }

    .deal-room-no-access h1 {
        font-size: 1.5rem;
    }
}

/* ===================================
   AMC-RE Deal Room Styles
   =================================== */

/* Deal Room Container */
.deal-room-container {
    background: var(--amcre-light-bg);
    min-height: 100vh;
}

/* Deal Room Hero Section */
.deal-room-hero-section {
    background: linear-gradient(135deg, var(--amcre-dark-green) 0%, #0f2621 100%);
    padding: 80px 40px 60px;
    position: relative;
    overflow: hidden;
}

.deal-room-hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.deal-room-hero-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(201, 169, 97, 0.2);
    border: 2px solid var(--amcre-gold);
    color: var(--amcre-gold);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.secure-badge svg {
    width: 20px;
    height: 20px;
}

.deal-room-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 500;
    color: white;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.deal-room-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.03em;
}

/* Deal Room Content Wrapper */
.deal-room-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
}

/* Deal Room Section */
.deal-room-section {
    background: white;
    padding: 50px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 0;
    border-left: 4px solid var(--amcre-gold);
    transition: all 0.3s ease;
}

.deal-room-section:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.deal-room-section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--amcre-dark-green);
    margin: 0 0 35px 0;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
    letter-spacing: 0.02em;
}

.deal-room-section-title svg {
    width: 28px;
    height: 28px;
    stroke: var(--amcre-gold);
    flex-shrink: 0;
}

/* Documents Grid */
.documents-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Document Card */
.document-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 30px;
    background: var(--amcre-light-bg);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
}

.document-card:hover {
    background: white;
    border-color: var(--amcre-gold);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.document-icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--amcre-dark-green);
    border-radius: 8px;
    flex-shrink: 0;
}

.document-icon-wrapper .dashicons {
    color: var(--amcre-gold);
    font-size: 32px;
    width: 32px;
    height: 32px;
}

.document-info {
    flex: 1;
    min-width: 200px;
    max-width: 600px;
}

.document-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--amcre-text-dark);
    margin: 0 0 8px 0;
    line-height: 1.5;
    word-break: normal;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.document-meta {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.document-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-view,
.btn-download {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-view {
    background: var(--amcre-dark-green);
    color: white;
}

.btn-view:hover {
    background: #0f2621;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(26, 58, 52, 0.3);
}

.btn-download {
    background: var(--amcre-gold);
    color: var(--amcre-dark-green);
}

.btn-download:hover {
    background: #b8935a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(201, 169, 97, 0.3);
}

.btn-view svg,
.btn-download svg {
    width: 16px;
    height: 16px;
}

/* Financial Content */
.financial-content,
.additional-docs-content,
.contact-content {
    line-height: 1.8;
    color: #4b5563;
    font-size: 1.05rem;
}

.financial-content p,
.additional-docs-content p,
.contact-content p {
    margin-bottom: 15px;
}

.financial-content ul,
.additional-docs-content ul,
.contact-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.financial-content li,
.additional-docs-content li,
.contact-content li {
    margin-bottom: 10px;
}

.financial-content strong,
.additional-docs-content strong,
.contact-content strong {
    color: var(--amcre-dark-green);
    font-weight: 600;
}

/* Deal Room Navigation */
.deal-room-navigation {
    text-align: center;
    margin-top: 60px;
}

.btn-back-to-property {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: white;
    color: var(--amcre-dark-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--amcre-dark-green);
    border-radius: 6px;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.btn-back-to-property svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-back-to-property:hover {
    background: var(--amcre-dark-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(26, 58, 52, 0.2);
}

.btn-back-to-property:hover svg {
    transform: translateX(-4px);
}

/* Responsive Deal Room Styles */
@media (max-width: 1024px) {
    .deal-room-content-wrapper {
        padding: 40px 20px;
    }

    .deal-room-section {
        padding: 35px 25px;
    }
}

@media (max-width: 768px) {
    .deal-room-hero-section {
        padding: 60px 30px 40px;
    }

    .deal-room-title {
        font-size: 2rem;
    }

    .deal-room-subtitle {
        font-size: 1rem;
    }

    .secure-badge {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .deal-room-section {
        padding: 30px 20px;
        margin-bottom: 25px;
    }

    .deal-room-section-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .document-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .document-icon-wrapper {
        align-self: center;
    }

    .document-info {
        width: 100%;
        text-align: center;
        min-width: 0;
        max-width: none;
    }

    .document-actions {
        width: 100%;
        justify-content: center;
    }

    .btn-view,
    .btn-download {
        flex: 1;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .deal-room-hero-section {
        padding: 40px 20px 30px;
    }

    .deal-room-title {
        font-size: 1.5rem;
    }

    .deal-room-section-title {
        font-size: 1.25rem;
        gap: 10px;
    }

    .deal-room-section-title svg {
        width: 24px;
        height: 24px;
    }

    .document-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-view,
    .btn-download {
        width: 100%;
    }

    .btn-back-to-property {
        padding: 14px 30px;
        font-size: 0.9rem;
    }

    .property-additionals-wrapper {
        padding: 0 15px;
        margin-top: 30px;
        gap: 25px;
    }

    .additional-section {
        padding: 25px 15px;
    }

    .additional-heading {
        font-size: 1.15rem;
        margin-bottom: 15px;
        padding-bottom: 12px;
    }

    .additional-heading::after {
        width: 60px;
    }

    .additional-content {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .additional-content ul,
    .additional-content ol {
        padding-left: 25px;
    }
}

/* ===================================
   Investment Disclaimer Modal
   =================================== */

.disclaimer-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.disclaimer-modal-content {
    background: var(--amcre-dark-green);
    max-width: 760px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
    border-radius: 4px;
    padding: 40px;
    position: relative;
    animation: disclaimerSlideIn 0.35s ease-out;
    scrollbar-width: thin;
    scrollbar-color: #E4652D rgba(255,255,255,0.1);
}

.disclaimer-modal-content::-webkit-scrollbar {
    width: 6px;
}
.disclaimer-modal-content::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
}
.disclaimer-modal-content::-webkit-scrollbar-thumb {
    background: #E4652D;
    border-radius: 3px;
}

@keyframes disclaimerSlideIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Close button */
.disclaimer-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.45);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color 0.2s ease, background 0.2s ease;
    font-family: inherit;
}
.disclaimer-close:hover {
    color: #E4652D;
    background: rgba(228, 101, 45, 0.1);
}

/* Title */
.disclaimer-title-area {
    margin-bottom: 28px;
    padding-right: 30px;
}
.disclaimer-title-area h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 12px 0;
    line-height: 1.1;
}
.disclaimer-title-area h1::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #E4652D;
    margin-top: 10px;
}

/* Scrollable regulatory text box */
.disclaimer-scroll-box {
    background: #e8e4dc;
    border-radius: 4px;
    padding: 24px 28px;
    max-height: 160px;
    overflow-y: auto;
    margin-bottom: 24px;
    scrollbar-width: thin;
    scrollbar-color: #E4652D #d4cfc6;
}
.disclaimer-scroll-box::-webkit-scrollbar { width: 6px; }
.disclaimer-scroll-box::-webkit-scrollbar-track { background: #d4cfc6; }
.disclaimer-scroll-box::-webkit-scrollbar-thumb { background: #E4652D; border-radius: 3px; }

.disclaimer-scroll-box h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 16px 0;
    font-style: italic;
}
.disclaimer-scroll-box h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 16px 0 6px 0;
}
.disclaimer-scroll-box h3:first-of-type {
    margin-top: 0;
}
.disclaimer-scroll-box p {
    font-size: 0.85rem;
    color: #3a3a3a;
    line-height: 1.65;
    margin: 0 0 8px 0;
}

/* Compliance checkboxes */
.disclaimer-checks {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.disc-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    position: relative;
}
.disc-check input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.disc-checkmark {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.35);
    border-radius: 3px;
    background: transparent;
    margin-top: 1px;
    transition: all 0.2s ease;
    position: relative;
}
.disc-check input[type="checkbox"]:checked ~ .disc-checkmark {
    background: #E4652D;
    border-color: #E4652D;
}
.disc-checkmark::after {
    content: '';
    position: absolute;
    display: none;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.disc-check input[type="checkbox"]:checked ~ .disc-checkmark::after {
    display: block;
}
.disc-check span:last-child {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.55;
}
.disc-check--consent {
    margin-bottom: 20px;
}

/* Registration form fields */
.disclaimer-form {
    margin-top: 4px;
}

.disc-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
    margin-bottom: 20px;
}

.disc-field {
    border-bottom: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    transition: border-color 0.25s ease;
    margin-bottom: 4px;
}
.disc-field:focus-within {
    border-bottom-color: #E4652D;
}
.disc-field input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 0.9rem;
    padding: 13px 0;
    font-family: inherit;
}
.disc-field input::placeholder {
    color: rgba(255,255,255,0.3);
}


/* Message */
.disc-message {
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 16px;
}
.disc-message.error {
    border-left: 4px solid #E4652D;
    background: rgba(228, 101, 45, 0.12);
    color: rgba(255,255,255,0.9);
}
.disc-message.success {
    border-left: 4px solid #10b981;
    background: rgba(16, 185, 129, 0.12);
    color: rgba(255,255,255,0.9);
}

/* Submit button */
.btn-disclaimer-submit {
    width: 100%;
    padding: 16px;
    background: #E4652D;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.25s ease;
    font-family: inherit;
    margin-top: 4px;
}
.btn-disclaimer-submit:hover:not(:disabled) {
    background: #cf5826;
}
.btn-disclaimer-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
.disc-btn-loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-disclaimer-submit.loading .disc-btn-text { display: none; }
.btn-disclaimer-submit.loading .disc-btn-loading { display: flex; }

/* X close button */
.btn-disclaimer-x {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
    transition: background 0.2s, border-color 0.2s;
    flex-shrink: 0;
}
.btn-disclaimer-x {
    font-size: 22px;
    line-height: 1;
    font-family: Arial, sans-serif;
}
.btn-disclaimer-x:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.7);
}

/* Go Back button */
.btn-disclaimer-back {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 13px 16px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-disclaimer-back:hover {
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

/* Responsive */
@media (max-width: 640px) {
    .disclaimer-modal-content {
        padding: 28px 20px;
        max-height: 100vh;
        border-radius: 0;
    }
    .disc-fields-grid {
        grid-template-columns: 1fr;
    }
    .disclaimer-title-area h1 {
        font-size: 1.4rem;
    }
    .disclaimer-scroll-box {
        max-height: 130px;
        padding: 18px;
    }
}

/* ===================================
   Investor Properties Dashboard
   =================================== */

.investor-properties {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    padding: 8px 0;
}

.ip-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ip-card:hover {
    border-color: #c9a961;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.ip-card--approved {
    border-color: rgba(201, 169, 97, 0.5);
}

.ip-card-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.ip-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ip-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.ip-property-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    flex: 1;
}

.ip-property-title a {
    color: #1a3a34;
    text-decoration: none;
}

.ip-property-title a:hover {
    color: #E4652D;
}

.ip-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
    flex-shrink: 0;
}

.ip-status--pending  { background: #fef3c7; color: #92400e; }
.ip-status--approved { background: #d1fae5; color: #065f46; }
.ip-status--rejected { background: #fee2e2; color: #991b1b; }
.ip-status--revoked  { background: #e5e7eb; color: #374151; }

.ip-date {
    margin: 0 0 16px;
    font-size: 0.8rem;
    color: #9ca3af;
}

.ip-card-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ip-btn {
    padding: 9px 18px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.ip-btn--primary {
    background: #E4652D;
    color: #ffffff;
    border: none;
}

.ip-btn--primary:hover {
    background: #cf5826;
    color: #ffffff;
}

.ip-btn--secondary {
    background: transparent;
    color: #1a3a34;
    border: 1px solid #d1d5db;
}

.ip-btn--secondary:hover {
    border-color: #1a3a34;
    color: #1a3a34;
}

.ip-empty {
    padding: 40px 20px;
    text-align: center;
    color: #9ca3af;
    font-size: 0.95rem;
}

.ip-empty-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 12px 28px;
    background: #0e3029;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.ip-empty-btn:hover {
    background: #1a3a34;
    color: #ffffff;
}

.ip-login-notice {
    color: #374151;
}

.ip-login-notice a {
    color: #E4652D;
}

@media (max-width: 640px) {
    .investor-properties {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   Login & Sign-up Forms
   =================================== */

.amcre-auth-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 20px;
    min-height: 70vh;
}

.amcre-auth-card {
    background: #1a3a34;
    border-radius: 10px;
    padding: 56px 52px;
    width: 100%;
    max-width: 560px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}

.amcre-auth-header {
    margin-bottom: 36px;
}

.amcre-auth-header h1 {
    font-family: "Roman Serif", Georgia, "Times New Roman", serif;
    color: #ffffff;
    font-size: 1.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 8px;
    padding-bottom: 12px;
    position: relative;
}

.amcre-auth-header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 3px;
    background: #E4652D;
    border-radius: 2px;
}

.amcre-auth-subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    margin: 10px 0 0;
}

.amcre-auth-optional {
    font-size: 0.75em;
    color: rgba(255, 255, 255, 0.35);
    font-style: italic;
    text-transform: none;
    letter-spacing: 0;
}

.amcre-auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}

.amcre-auth-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 22px;
}

.amcre-auth-field label {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.amcre-auth-field input {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    outline: none;
    color: #ffffff;
    font-size: 1rem;
    padding: 14px 16px;
    width: 100%;
    font-family: inherit;
    transition: border-color 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
}

.amcre-auth-field input:focus {
    border-color: #E4652D;
    background: rgba(255, 255, 255, 0.1);
}

.amcre-auth-field input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.amcre-auth-pw-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.amcre-auth-pw-wrap input {
    padding-right: 48px;
}

.amcre-pw-toggle {
    position: absolute;
    right: 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    color: rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.amcre-pw-toggle:hover {
    color: rgba(255, 255, 255, 0.75);
}

.amcre-pw-toggle svg {
    width: 20px;
    height: 20px;
}

.amcre-auth-message {
    padding: 13px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 22px;
}

.amcre-auth-message.error {
    border-left: 4px solid #E4652D;
    background: rgba(228, 101, 45, 0.12);
    color: rgba(255, 255, 255, 0.9);
}

.amcre-auth-message.success {
    border-left: 4px solid #10b981;
    background: rgba(16, 185, 129, 0.12);
    color: rgba(255, 255, 255, 0.9);
}

.amcre-auth-submit {
    width: 100%;
    padding: 16px;
    background: #E4652D;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    font-family: inherit;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.amcre-auth-submit:hover:not(:disabled) {
    background: #cf5826;
    transform: translateY(-1px);
}

.amcre-auth-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.amcre-btn-loading {
    display: none;
    align-items: center;
    gap: 8px;
}

.amcre-auth-submit.loading .amcre-btn-text    { display: none; }
.amcre-auth-submit.loading .amcre-btn-loading { display: flex; }

.amcre-auth-links {
    margin-top: 28px;
    text-align: center;
}

.amcre-auth-links p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.875rem;
    margin: 0;
}

.amcre-auth-links a {
    color: #E4652D;
    text-decoration: none;
    font-weight: 600;
}

.amcre-auth-links a:hover {
    text-decoration: underline;
}

@media (max-width: 620px) {
    .amcre-auth-wrap {
        padding: 40px 16px;
    }
    .amcre-auth-card {
        padding: 40px 28px;
    }
    .amcre-auth-grid {
        grid-template-columns: 1fr;
    }
}
