/* Basic styling for the injected elements */

#dynamic-slide-content {
    margin-top: 20px;
    padding: 15px;
    border-top: 1px solid #eee;
}

/* Button Styling (Matching kobo_loader.js look) */
.nav-btn {
    background-color: #0056b3; /* Darker blue for better visibility */
    color: white;
    border: none;
    padding: 18px 36px; /* Larger padding */
    font-size: 20px;    /* Larger font */
    font-weight: bold;  /* Bold text */
    border-radius: 8px; 
    cursor: pointer;
    transition: background 0.3s;
    /* Ensure button doesn't stretch weirdly in flex containers */
    width: auto; 
    min-width: 250px; /* Minimum width for substantial feel */
    box-shadow: 0 4px 6px rgba(0,0,0,0.2); /* Subtle shadow for depth */
}

.nav-btn:hover {
    background-color: #004494; /* Even darker on hover */
    box-shadow: 0 6px 8px rgba(0,0,0,0.25);
}

/* Input Styling (Type 4) - UPDATED for better layout */
.input-group {
    display: flex;
    flex-direction: column; /* Stack input on top of button */
    gap: 25px;
    justify-content: center;
    align-items: center;
    max-width: 600px; /* Slightly wider container */
    margin: 40px auto; /* More vertical space */
    padding: 30px;
    background-color: #f8f9fa; /* Light grey background for the box */
    border: 2px solid #e9ecef; /* Border for the box */
    border-radius: 12px; /* Rounded corners for the box */
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* Soft shadow for the box */
}

#user-email {
    padding: 18px; /* Larger padding */
    font-size: 18px;
    border: 2px solid #ced4da; /* Thicker border */
    border-radius: 8px;
    width: 100%;
    max-width: 450px; 
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
    text-align: center; 
    transition: border-color 0.3s;
}

#user-email:focus {
    border-color: #007bff; /* Highlight border on focus */
    outline: none;
}

/* Figure Styling (Type 2) */
.figure-wrapper {
    text-align: center;
    margin-bottom: 20px;
}

.slide-figure {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Kobo Iframe Styling (Type 1) */
.iframe-wrapper iframe {
    display: block;
    margin: 0 auto;
    max-width: 600px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background: white;
}

/* Wrapper for alignment */
.nav-wrapper {
    text-align: center;
    margin-top: 30px;
}
