/* Modal Background */
#podcastRegisterPopup {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;

    &.show {
        opacity: 1;
        visibility: visible;

        .podcastRegisterPopupContent {
            transform: translateY(0);
        }
    }
}

/* Modal Content */
.podcastRegisterPopupContent {
    background-color: white;
    padding: 20px 16px;
    border-radius: 16px;
    max-width: 600px;
    margin: 10% auto;
    position: relative;
    transform: translateY(-30px);
    transition: transform 0.3s ease-in-out;

    .contentWrapper {
        padding: 15px 30px;

        .headerContainer {
            position: relative;

            .headerCloseButton {
                position: absolute;
                top: 8px;
                right: 0;
                cursor: pointer;
            }

            .headerTitle {
                font-size: 32px;
                font-weight: 600;
                text-align: left;
                margin-top: 0;
                margin-bottom: 20px;
            }
            
            .headerDescription {
                font-size: 24px;
                font-weight: 500;
                text-align: left;
                margin-top: 0;
                margin-bottom: 30px;
            }
        }

        .podcastRegisterRegisterForm {
            .inputGroup {
                display: grid;
                width: 100%;
                margin-bottom: 20px;
            
                label {
                    text-align: left;
                    margin-bottom: 10px;
                    font-weight: 600;
                }
                
                input {
                    padding: 8px;
                    outline: unset;
                    border-radius: 4px;
                    border: 1px solid #E5E5E5;
                }
            }
            
            .registerBtn {
                background-color: #EE2C2D;
                border-radius: 4px;
                color: white;
                font-size: 17px;
                font-weight: 700;
                height: 46px;
                border: unset;
                width: 100%;
            }
        }

        .footerContent {
            text-align: left;
            margin-top: 36px;
            width: 100%;
            text-align: center;
            
            a, a:hover {
                color: #988C8C;
                font-weight: 600;
                font-size: 16px;
                text-decoration: underline;
                cursor: pointer;
            }
        
        }

        .podcastRegisterFormErrorMessage {
            font-size: 13px;
            color: #EE2C2D;
            display: none;
            margin-top: 10px;
            margin-bottom: 10px;
        }
    }

    @media only screen and (max-width : 768px) {
        margin: 10% 12px;
        
        .contentWrapper {
            padding: 10px;
            .headerContainer {
                .headerTitle {
                    font-size: 24px;
                    margin-bottom: 10px;
                }

                .headerDescription {
                    font-size: 16px;
                    margin-bottom: 20px;
                }
            }
        }
    }
}