﻿/* Layout público (citas externas) */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
}

.public-layout {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    padding: 2rem 1rem;
    transition: background 0.2s ease;
}

.public-container {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    max-width: 450px;
    width: 100%;
    position: relative;
    color: var(--text-primary);
}

[data-theme="dark"] .public-container {
    background: #2d3748;
}

.public-logo {
    max-height: 70px;
    margin-bottom: 2rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.btn-theme-public {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
}

    .btn-theme-public:hover {
        background: rgba(255, 255, 255, 0.25);
    }

@media (max-width: 576px) {
    .public-container {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    .public-logo {
        max-height: 50px;
        margin-bottom: 1.5rem;
    }
}
