/* Event Doorway Manager Stylesheet */

/* Main wrapper */
.edm-doorway-wrap {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background: rgba(30, 30, 30, 0.45);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(254, 249, 237, 0.12);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
    color: #fef9ed;
    font-family: "ff-meta-serif-web-pro", Georgia, serif;
    box-sizing: border-box;
}

/* Headings */
.edm-doorway-wrap h2 {
    font-size: 32px;
    font-style: italic;
    font-weight: 350;
    margin-top: 0;
    margin-bottom: 12px;
    text-align: center;
    color: #fef9ed;
    line-height: 1.2;
}

.edm-doorway-wrap h3 {
    font-size: 24px;
    font-style: italic;
    font-weight: 350;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(254, 249, 237, 0.1);
    padding-bottom: 10px;
    color: #fef9ed;
}

/* Subtle descriptions */
.edm-doorway-wrap .edm-subtle {
    font-size: 15px;
    color: rgba(254, 249, 237, 0.7);
    line-height: 1.6;
    margin-bottom: 24px;
    text-align: center;
}

.edm-box .edm-subtle {
    text-align: left;
    margin-bottom: 16px;
}

/* Two column grid */
.edm-doorway-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 24px;
}

/* Individual form box */
.edm-box {
    background: rgba(254, 249, 237, 0.03);
    border: 1px solid rgba(254, 249, 237, 0.06);
    border-radius: 12px;
    padding: 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* Forms and fields */
.edm-doorway-wrap form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.edm-field-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.edm-doorway-wrap label {
    font-size: 15px;
    font-style: italic;
    color: #fef9ed;
    margin-bottom: 6px;
    font-weight: 350;
}

/* Text, email and password inputs */
.edm-doorway-wrap input[type="text"],
.edm-doorway-wrap input[type="email"],
.edm-doorway-wrap input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(254, 249, 237, 0.15);
    border-radius: 6px;
    color: #fef9ed;
    font-family: inherit;
    font-size: 16px;
    font-style: italic;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.edm-doorway-wrap input[type="text"]::placeholder,
.edm-doorway-wrap input[type="email"]::placeholder,
.edm-doorway-wrap input[type="password"]::placeholder {
    color: rgba(254, 249, 237, 0.25);
}

.edm-doorway-wrap input[type="text"]:focus,
.edm-doorway-wrap input[type="email"]:focus,
.edm-doorway-wrap input[type="password"]:focus {
    border-color: rgba(254, 249, 237, 0.6);
    background-color: rgba(0, 0, 0, 0.35);
    box-shadow: 0 0 0 3px rgba(254, 249, 237, 0.05);
}

/* Checkbox field styling (Remember me, GDPR Consent) */
.edm-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 20px;
    cursor: pointer;
}

.edm-checkbox-group input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: #fef9ed;
    cursor: pointer;
}

.edm-checkbox-group span {
    font-size: 12px;
    line-height: 1.4;
    color: rgba(254, 249, 237, 0.85);
}

/* Submit and action buttons */
.edm-btn {
    font-family: inherit;
    font-size: 18px;
    font-style: italic;
    font-weight: 350;
    background: #fef9ed;
    color: #171717;
    border: 1px solid #fef9ed;
    border-radius: 6px;
    padding: 12px 20px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
    align-self: flex-start;
}

.edm-btn:hover {
    background: transparent;
    color: #fef9ed;
    border-color: #fef9ed;
}

.edm-btn:active {
    transform: translateY(1px);
}

/* Special button full width */
.edm-btn-full {
    width: 100%;
    align-self: center;
}

/* Notice styles */
.edm-notice {
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
}

.edm-notice-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.edm-notice-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #a7f3d0;
}

/* Stay on page link */
.edm-stay-link {
    display: inline-block;
    margin-top: 16px;
    font-size: 14px;
    color: rgba(254, 249, 237, 0.6);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.edm-stay-link:hover {
    color: #fef9ed;
}

/* Responsive breakpoint styling */
@media (max-width: 768px) {
    .edm-doorway-wrap {
        margin: 20px 15px;
        padding: 24px;
    }
    .edm-doorway-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .edm-box {
        padding: 20px;
    }
    .edm-doorway-wrap h2 {
        font-size: 26px;
    }
    .edm-doorway-wrap h3 {
        font-size: 20px;
    }
}
