/* Wrapper general */
.guille-upload-wrapper {
    margin: 20px auto;
    max-width: 500px;
}

/* Caja de subida base */
.guille-upload-box {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    background: #fafafa;
}

.guille-polaroid-form {
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
    transform: rotate(-1.5deg);
}

.guille-upload-box h3 { margin-top: 0; }

#guille_name,
#guille_message {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

#guille_message {
    min-height: 60px;
    resize: vertical;
}

#guille_files {
    display: block;
    margin: 10px auto 5px;
}

#guille_files[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
}

#guille_upload_btn {
    padding: 8px 18px;
    border-radius: 6px;
    border: none;
    background: #0073aa;
    color: #fff;
    cursor: pointer;
}
#guille_upload_btn:hover { background: #005f8d; }

#guille_upload_status p {
    margin: 5px 0;
    font-size: 14px;
}

.guille-help {
    font-size: 12px;
    color: #555;
}

.guille-remaining {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Hero */
.guille-hero {
    padding: 140px 20px;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: white;
    position: relative;
}
.guille-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}
.guille-hero-inner {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.guille-hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
}
.guille-hero p { font-size: 18px; }

.guille-hero-logo img {
    max-height: 80px;
    margin-bottom: 15px;
}

/* Galería Masonry */
.guille-gallery-wrapper {
    margin: 20px auto;
    max-width: 1100px;
}
.guille-gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.guille-gallery-controls {
    font-size: 13px;
}
.guille-gallery-controls select {
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
}
.guille-zip-btn {
    padding: 6px 14px;
    border-radius: 6px;
    border: none;
    background: #444;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
}
.guille-zip-btn:hover {
    background: #000;
}
.guille-gallery.masonry {
    column-count: 3;
    column-gap: 15px;
}
@media (max-width: 900px) {
    .guille-gallery.masonry {
        column-count: 2;
    }
}
@media (max-width: 600px) {
    .guille-gallery.masonry {
        column-count: 1;
    }
}
.guille-item {
    break-inside: avoid;
    margin-bottom: 15px;
}

/* Polaroid base para galería y muro */
.guille-polaroid-inner {
    background: #fff;
    padding: 10px 10px 18px;
    border: 1px solid #ccc;
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
    transform: rotate(-2deg);
    border-radius: 4px;
}
.guille-polaroid-media img,
.guille-polaroid-media video {
    width: 100%;
    border-radius: 2px;
}
.guille-polaroid-caption {
    margin-top: 10px;
    text-align: center;
}
.guille-polaroid-name {
    font-family: "Patrick Hand", "Segoe Script", cursive;
    font-size: 17px;
    margin-bottom: 4px;
}
.guille-polaroid-text {
    font-size: 13px;
    color: #555;
}

/* Audio en polaroid */
.guille-polaroid-audio {
    padding: 8px;
    background: #f7f7f7;
    border-radius: 6px;
}
.guille-polaroid-audio audio {
    width: 100%;
}

/* Mensajes en galería */
.guille-message-box {
    padding: 15px;
    background: #f3f3f3;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.4;
    text-align: left;
    border: 1px solid #ddd;
    color: #333;
}

/* Reacciones */
.guille-reactions {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
}
.guille-react-btn {
    border: none;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 12px;
    cursor: pointer;
    background: #f1f1f1;
}
.guille-react-btn span {
    font-weight: 600;
}
.guille-reactions-total {
    font-size: 12px;
    margin-left: 6px;
    font-weight: 700;
}

/* Descarga individual */
.guille-download-single {
    margin-top: 8px;
    text-align: center;
}
.guille-download-single a {
    font-size: 12px;
    text-decoration: none;
}

/* Login cliente */
.guille-client-login {
    max-width: 360px;
    margin: 30px auto;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #ddd;
    text-align: center;
    background: #fafafa;
}
.guille-client-login input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
}
.guille-client-login button {
    padding: 8px 18px;
    border-radius: 6px;
    border: none;
    background: #0073aa;
    color: #fff;
    cursor: pointer;
}
.guille-error {
    color: #d63638;
    margin-top: 8px;
}

/* MURO full responsive */
#guille_wall {
    width: 100vw !important;
    height: 100vh !important;
    overflow: hidden !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    box-sizing: border-box;
}
.guille-wall-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.guille-wall-header {
    flex: 0 0 auto;
    text-align: center;
    margin: 10px 0;
}
.guille-wall-items {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 20px;
}
.guille-wall-item {
    max-width: 95%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.guille-wall-item .guille-polaroid-inner {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}
.guille-wall-item img,
.guille-wall-item video {
    max-width: 100%;
    max-height: 75vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
}
.guille-wall-msg-bubble {
    max-width: 90%;
    max-height: 70vh;
    overflow-wrap: break-word;
    font-size: 3vw;
    padding: 4vw;
    line-height: 1.2;
}
@media (max-width: 600px) {
    .guille-wall-msg-bubble {
        font-size: 5vw;
        padding: 6vw;
    }
}

/* Estilos por evento */
/* Minimal */
.guille-style-minimal#guille_wall {
    background: #ffffff;
    color: #222;
}
.guille-style-minimal .guille-wall-item .guille-polaroid-inner {
    transform: rotate(0deg);
}
.guille-style-minimal .guille-upload-wrapper {
    background: #fff;
}

/* Neón */
.guille-style-neon#guille_wall {
    background: radial-gradient(circle at top, #ff00cc, #3333ff, #000000);
    color: #fff;
}
.guille-style-neon .guille-polaroid-inner {
    box-shadow: 0 0 25px rgba(255,0,200,0.6);
}
.guille-style-neon .guille-gallery-wrapper {
    background: radial-gradient(circle at top, #111, #000);
    padding: 20px;
    border-radius: 16px;
}
.guille-style-neon .guille-upload-wrapper {
    background: radial-gradient(circle at top, #111, #000);
    padding: 20px;
    border-radius: 16px;
}

/* Gold */
.guille-style-gold#guille_wall {
    background: linear-gradient(135deg, #000000, #222222);
    color: #f5d48f;
}
.guille-style-gold .guille-polaroid-inner {
    border-color: #f5d48f;
}
.guille-style-gold .guille-gallery-wrapper {
    background: #000;
    padding: 20px;
    border-radius: 16px;
}
.guille-style-gold .guille-upload-wrapper {
    background: #000;
    padding: 20px;
    border-radius: 16px;
}

/* Insta */
.guille-style-insta#guille_wall {
    background: radial-gradient(circle at 0 0, #fdf497, #f7797d, #c471ed, #12c2e9);
    color: #fff;
}
.guille-style-insta .guille-gallery-wrapper {
    background: rgba(255,255,255,0.2);
    padding: 20px;
    border-radius: 16px;
}
.guille-style-insta .guille-upload-wrapper {
    background: rgba(255,255,255,0.2);
    padding: 20px;
    border-radius: 16px;
}

/* Polaroid */
.guille-style-polaroid#guille_wall {
    background: #e5e5e0;
    color: #222;
}
.guille-style-polaroid .guille-wall-item .guille-polaroid-inner {
    transform: rotate(-1deg);
}
.guille-style-polaroid .guille-gallery-wrapper {
    background: #e5e5e0;
    padding: 30px 10px;
}
.guille-style-polaroid .guille-upload-wrapper {
    background: #e5e5e0;
    padding: 30px 10px;
}

/* Custom */
.guille-style-custom#guille_wall {
    background: #111;
    color: #fff;
}

/* Caja nota voz */
.guille-voice-box {
    margin: 15px auto;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.guille-voice-title {
    font-family: "Patrick Hand", "Segoe Script", cursive;
    font-size: 18px;
    margin-bottom: 8px;
}
.guille-voice-btn {
    padding: 6px 12px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    margin: 4px;
    background: #333;
    color: #fff;
    font-size: 14px;
}
.guille-voice-stop {
    background: #d33;
}
.guille-voice-hint {
    font-size: 11px;
    color: #555;
    margin-top: 6px;
}

/* Tabs admin (estilo WooCommerce-like dentro del metabox) */
.wp-eup-tabs .nav-tab-wrapper {
    margin-bottom: 10px;
}
.wp-eup-tabs .nav-tab {
    cursor: default;
}
