/*
Theme Name: Lawrence After Dark Child
Template: newspare
Description: Child theme for Lawrence After Dark
Version: 1.0
*/

/* Event Submission Form Styling */
.event-submission-form label {
    display: block;
    font-weight: 600;
    margin-top: 1.2em;
    margin-bottom: 0.3em;
    color: #e0e0e0;
}

.event-submission-form h3 {
    margin-top: 2em;
    padding-top: 1.5em;
    border-top: 1px solid #333;
    color: #e94560;
}

.event-submission-form h3:first-child {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.event-submission-form input[type="text"],
.event-submission-form input[type="email"],
.event-submission-form input[type="url"],
.event-submission-form input[type="date"],
.event-submission-form select,
.event-submission-form textarea {
    width: 100%;
    max-width: 600px;
    padding: 10px 14px;
    border: 1px solid #444;
    border-radius: 4px;
    background: #1a1a2e;
    color: #e0e0e0;
    font-size: 15px;
    transition: border-color 0.2s;
}

.event-submission-form input:focus,
.event-submission-form select:focus,
.event-submission-form textarea:focus {
    border-color: #e94560;
    outline: none;
}

.event-submission-form textarea {
    min-height: 120px;
    resize: vertical;
}

.event-submission-form input[type="submit"] {
    display: inline-block;
    margin-top: 2em;
    padding: 14px 40px;
    background: #e94560;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.event-submission-form input[type="submit"]:hover {
    background: #d13350;
}

.wpcf7-response-output {
    margin-top: 1.5em;
    padding: 12px 16px;
    border-radius: 4px;
}

/* CTA Banner for event submission */
.event-cta-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #e94560;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin: 30px 0;
}

.event-cta-banner h3 {
    color: #e94560;
    margin-top: 0;
}

.event-cta-banner a.cta-button {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 30px;
    background: #e94560;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.2s;
}

.event-cta-banner a.cta-button:hover {
    background: #d13350;
}

/* ========================================
   COMMUNITY WALL
   ======================================== */

#lad-wall {
    max-width: 720px;
    margin: 0 auto;
}

/* Post form */
#lad-wall-form {
    background: #1a1a2e;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

#lad-wall-form h3 {
    margin-top: 0;
    color: #e94560;
}

#lad-wall-name,
#lad-wall-content {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #444;
    border-radius: 4px;
    background: #0f0f1a;
    color: #e0e0e0;
    font-size: 15px;
    font-family: inherit;
    box-sizing: border-box;
}

#lad-wall-name {
    margin-bottom: 10px;
}

#lad-wall-content {
    resize: vertical;
    min-height: 70px;
}

#lad-wall-name:focus,
#lad-wall-content:focus {
    border-color: #e94560;
    outline: none;
}

#lad-wall-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

#lad-wall-charcount {
    color: #666;
    font-size: 13px;
}

#lad-wall-submit {
    padding: 10px 28px;
    background: #e94560;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

#lad-wall-submit:hover {
    background: #d13350;
}

#lad-wall-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Posts */
.lad-wall-post {
    background: #1a1a2e;
    border: 1px solid #2a2a3e;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 12px;
    transition: border-color 0.2s;
}

.lad-wall-post:hover {
    border-color: #3a3a5e;
}

.lad-wall-post-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.lad-wall-author {
    font-weight: 700;
    color: #e94560;
    font-size: 14px;
}

.lad-wall-time {
    color: #666;
    font-size: 12px;
}

.lad-wall-delete {
    margin-left: auto;
    background: none;
    border: 1px solid #633;
    color: #c44;
    cursor: pointer;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 3px;
    transition: background 0.2s;
}

.lad-wall-delete:hover {
    background: #422;
}

.lad-wall-post-content {
    color: #d0d0d0;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 12px;
    white-space: pre-wrap;
    word-break: break-word;
}

.lad-wall-post-content a {
    color: #e94560;
}

/* Reactions */
.lad-wall-reactions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.lad-wall-react-btn {
    background: #16213e;
    border: 1px solid #2a2a4e;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 16px;
    cursor: pointer;
    color: #aaa;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.lad-wall-react-btn:hover {
    border-color: #e94560;
    background: #1a1a3e;
}

.lad-wall-react-btn.active {
    border-color: #e94560;
    background: #2a1a2e;
}

.lad-wall-react-btn .react-count {
    font-size: 12px;
    color: #ccc;
    font-weight: 600;
}

.lad-wall-reply-toggle {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 13px;
    padding: 4px 8px;
    margin-left: 4px;
    transition: color 0.2s;
}

.lad-wall-reply-toggle:hover {
    color: #e94560;
}

/* Replies */
.lad-wall-replies {
    margin-top: 12px;
    padding-left: 16px;
    border-left: 2px solid #2a2a4e;
}

.lad-wall-reply {
    padding: 8px 0;
    border-bottom: 1px solid #1a1a2e;
}

.lad-wall-reply:last-child {
    border-bottom: none;
}

.lad-wall-reply-content {
    color: #bbb;
    font-size: 14px;
    line-height: 1.4;
    margin-top: 4px;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Reply form */
.lad-wall-reply-form {
    margin-top: 10px;
    padding: 12px;
    background: #0f0f1a;
    border-radius: 6px;
}

.lad-wall-reply-form input,
.lad-wall-reply-form textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #333;
    border-radius: 4px;
    background: #1a1a2e;
    color: #e0e0e0;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    margin-bottom: 8px;
}

.lad-wall-reply-form input:focus,
.lad-wall-reply-form textarea:focus {
    border-color: #e94560;
    outline: none;
}

.reply-submit {
    padding: 8px 20px;
    background: #e94560;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.reply-submit:hover {
    background: #d13350;
}

.reply-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Load more */
#lad-wall-more-btn {
    padding: 10px 30px;
    background: #16213e;
    border: 1px solid #2a2a4e;
    color: #ccc;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin: 20px 0;
    transition: all 0.2s;
}

#lad-wall-more-btn:hover {
    border-color: #e94560;
    color: #fff;
}

.lad-wall-empty {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 40px 0;
}
