/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */


@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&display=swap');


:root {
    --ww-font: "Archivo", system-ui;
    --ww-primary-color: #FF9900;
    --ww-secondary-color: #FFEBCC;
    --ww-text-color: #0A1439;
    --ww-light-text-color: #5C627B;
    --ww-border-color: #CED0D7;
    --ww-bg-green: #D6E6D6;
    --ww-bg-red: #F6CCCD;
    --ww-text-green: #338233;
    --ww-text-red: #D30004;
    --ww-text-white: #ffffff;
    --ww-size-xs: 4px;
    --ww-size-s: 8px;
    --ww-size-m: 16px;
    --ww-size-l: 24px;
    --ww-size-xl: 32px;
    --ww-size-2xl: 40px;
    --ww-size-3xl: 48px;
    --ww-size-4xl: 64px;
 }

.ww-user-watchlist {
    width: 100%;
    display: flex;
    gap: 24px;
    flex-direction: column;
}
.ww-user-watchlist-item {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    align-items: center;
}
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 20, 57, 0.6);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    
}
.popup-content {
    background: #ffffff;
    padding: 20px;
    border-radius: 0px;
    text-align: center;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.popup-content img {
    max-width:100px;
}

.logo-container {
    background: #0A1439;
    border-radius: 50%;
    position: absolute;
    top: -25%;
    width: 100px;
    height: 100px;
    transform: translateY(50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-container img {
    max-width: 60px !important;
}

.loader-container {
    padding: 85px 40px 40px;
    display: flex;
    gap: 16px;
    justify-content: center;
    align-content: center;
    align-items: center;
    flex-direction: column;
}
.loader-container img {
    max-width: 100px !important;
}
.loader-container p {
    font-size: 16px;
    color: #0A1439;
    font-weight: 500;
    margin: 0;
	font-family: var(--ww-font) !important;
    line-height: 24px;
}






/* --------------------------------------------- Book Card CSS ---------------------------------------------*/

.ww-user-book-list-shortcode {
    display: flex;
    gap: 40px;
    flex-direction: column;
}

.ww-user-book-list-shortcode .ww-user-information h2 {
    margin: 0;
    font-family: var(--ww-font);
    font-size: var(--ww-size-2xl);
    line-height: 56px;
    color: var(--ww-text-color);
    font-weight: 500;
    text-transform: capitalize;
    margin-bottom: var(--ww-size-m);
}

.ww-user-book-list-shortcode .ww-user-information p {
    margin: 0;
    font-family: var(--ww-font);
    font-size: var(--ww-size-m);
    line-height: var(--ww-size-l);
    color: var(--ww-light-text-color);
    font-weight: 300;
}

.ww-user-book-list-shortcode .ww-warning-message {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background-color: var(--ww-secondary-color);
    padding: 12px 16px;
    border-radius: 12px;
}


.ww-user-book-list-shortcode .ww-warning-message p {
    margin: 0;
    font-family: var(--ww-font);
    font-size: var(--ww-size-m);
    line-height: var(--ww-size-l);
    color: var(--ww-primary-color);
    font-weight: 400;
}

.ww-user-book-list-shortcode .ww-warning-message img {
    top: 2px;
    position: relative;
}

.ww-user-book-list-shortcode .ww-watchlist-container .ww-user-watchlist .ww-user-watchlist-item {
    padding: var(--ww-size-l);
    border-radius: var(--ww-size-m);
    border: solid 1px #CED0D7;
}

@media only screen and (min-width:767px) {
	  .ww-user-book-list-shortcode .ww-watchlist-container .ww-user-watchlist .ww-user-watchlist-item .ww-user-watchlist-inner .ww-watchlist-left {
		min-height: 248px;
		min-width:156px !important;
		position:relative;
	}

	.ww-user-book-list-shortcode .ww-watchlist-container .ww-user-watchlist .ww-user-watchlist-item .ww-user-watchlist-inner .ww-watchlist-left img {
		min-width: 156px !important;
		min-height: 100%;
		max-height: 248px;
		border-radius: var(--ww-size-s);
	}
}



.ww-user-book-list-shortcode .ww-watchlist-container .ww-user-watchlist .ww-user-watchlist-item .ww-user-watchlist-inner  .ww-watchlist-book-image-container-mobile {
	height:248px;
}

.ww-user-book-list-shortcode .ww-watchlist-container .ww-user-watchlist .ww-user-watchlist-item .ww-user-watchlist-inner  .ww-watchlist-book-image-container-mobile img {
	min-width: 142px;
    min-height: 100%;
    max-height: 248px;
    border-radius: var(--ww-size-s);
}

.ww-user-book-list-shortcode .ww-watchlist-container .ww-user-watchlist .ww-user-watchlist-item .ww-user-watchlist-inner .ww-book-info-chip {
    padding: 8px 12px;
    border-radius: var(--ww-size-s);
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.ww-user-book-list-shortcode .ww-watchlist-container .ww-user-watchlist .ww-user-watchlist-item .ww-user-watchlist-inner .ww-book-info-chip.language {
    background-color: var(--ww-bg-red);
    color: var(--ww-text-red);
    text-transform: capitalize;
}
.ww-user-book-list-shortcode .ww-watchlist-container .ww-user-watchlist .ww-user-watchlist-item .ww-user-watchlist-inner .ww-book-info-chip.book-bind {
    background-color: var(--ww-bg-green);
    color: var(--ww-text-green);
}


.ww-user-book-list-shortcode .ww-watchlist-container .ww-user-watchlist .ww-user-watchlist-item .ww-user-watchlist-inner .ww-book-info-chip p {
    margin: 0;
    font-family: var(--ww-font);
    font-size: var(--ww-size-m);
    line-height: 20px;
    font-weight: 400;
}

.ww-user-watchlist-inner {
    width: 100%;
    display: flex;
    gap: 24px;
}


.ww-user-book-list-shortcode .ww-watchlist-container .ww-user-watchlist .ww-user-watchlist-item .ww-user-watchlist-inner  .ww-watchlist-right {
    width: 100%;
    display: flex;
    gap: 16px;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.ww-user-book-list-shortcode .ww-watchlist-container .ww-user-watchlist .ww-user-watchlist-item .ww-user-watchlist-inner  .ww-content-row-middle {
    width: 100%;
    display: flex;
    gap: 8px;
    flex-direction: column;
    padding-bottom: 16px;
    border-bottom: dashed 1px #CED0D7;
}
.ww-user-book-list-shortcode .ww-watchlist-container .ww-user-watchlist .ww-user-watchlist-item .ww-user-watchlist-inner  .ww-content-row-middle h2.ww-book-title {
    margin: 0;
    font-family: var(--ww-font);
    font-size: var(--ww-size-l);
    line-height: 28px;
    color: var(--ww-text-color);
    font-weight: 400;
    text-transform: capitalize;
}
.ww-user-book-list-shortcode .ww-watchlist-container .ww-user-watchlist .ww-user-watchlist-item .ww-user-watchlist-inner  .ww-content-row-middle p.ww-book-authors {
    margin: 0;
    font-family: var(--ww-font);
    font-size: var(--ww-size-m);
    line-height: 24px;
    color: var(--ww-light-text-color);
    font-weight: 300;
}
.ww-user-book-list-shortcode .ww-watchlist-container .ww-user-watchlist .ww-user-watchlist-item .ww-user-watchlist-inner  .ww-content-row.ww-book-meta-data {
  	display: flex;
    gap: 24px;
    align-items: flex-start;
	width : 100% !important;
}

.ww-user-book-list-shortcode .ww-watchlist-container .ww-user-watchlist .ww-user-watchlist-item .ww-user-watchlist-inner  .ww-content-row p.ww-book-meta {
    margin: 0 !important;
    padding: 0 !important;
    font-family: var(--ww-font);
    font-size: 14px;
    line-height: 18px;
    color: var(--ww-light-text-color);
    font-weight: 300;
	display: flex;
    gap: 8px;
    align-items: flex-start;
}

.ww-user-book-list-shortcode .ww-watchlist-container .ww-user-watchlist .ww-user-watchlist-item .ww-user-watchlist-inner  .ww-content-row p span.ww-book-meta-values {
    margin: 0;
    font-family: var(--ww-font);
    font-size: 14px;
    line-height: 18px;
    color: var(--ww-text-color);
    font-weight: 400;
}

.ww-user-book-list-shortcode .ww-watchlist-container .ww-user-watchlist .ww-user-watchlist-item .ww-user-watchlist-inner  .ww-book-link {
    margin-top: 8px !important;
    padding: 10px 24px;
    background-color: var(--ww-primary-color);
    margin: 0;
    font-family: var(--ww-font);
    font-size:var(--ww-size-m);
    line-height: var(--ww-size-l);
    color: var(--ww-text-white);
    font-weight: 600;
    border-radius: 10px;
}

.ww-user-book-list-shortcode .ww-watchlist-container .ww-user-watchlist .ww-user-watchlist-item .ww-content-row {
    display: flex;
    gap: 16px;
}

@media only screen and (min-width:980px) {
	.ww-user-book-list-shortcode .ww-watchlist-container .ww-user-watchlist .ww-user-watchlist-item .ww-user-watchlist-inner  .ww-content-row p.ww-book-meta.ww-page-count {
		width:12% !important;
		min-width: 12% !important;
	}
	.ww-user-book-list-shortcode .ww-watchlist-container .ww-user-watchlist .ww-user-watchlist-item .ww-user-watchlist-inner  .ww-content-row p.ww-book-meta.ww-publication-date {
		width:38% !important;
	}
	.ww-user-book-list-shortcode .ww-watchlist-container .ww-user-watchlist .ww-user-watchlist-item .ww-user-watchlist-inner  .ww-content-row p.ww-book-meta.ww-publiser {
		width:50% !important;
	}
}
@media only screen and (max-width: 767px) {
	.ww-user-book-list-shortcode .ww-user-information h2 {
		margin: 0;
		font-family: var(--ww-font);
		font-size: 32px;
		line-height: 44px;
		color: var(--ww-text-color);
		font-weight: 500;
		text-transform: capitalize;
		margin-bottom: var(--ww-size-m);
	}
	.ww-user-book-list-shortcode .ww-watchlist-container .ww-user-watchlist {
		width: 100%;
		display: flex;
		gap: 16px;
		flex-direction: column;
	}

    .popup-content {
        background: #ffffff;
        padding: 20px;
        border-radius: 8px;
        text-align: center;
        width: 80vw;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
		font-family: var(--ww-font);
    }

    .loader-container {
		font-family: var(--ww-font);
        padding: 85px 16px 16px;
        display: flex;
        gap: 16px;
        justify-content: center;
        align-content: center;
        align-items: center;
        flex-direction: column;
    }
    .ww-user-watchlist-inner {
        width: 100%;
        display: flex;
        gap: 24px;
        flex-direction: column;
    }

    .ww-book-listing-section .ww-book-listing-row .et_pb_column:first-child {
        width: 100% !important;
    }

    .ww-watchlist-left {
        background: #CED0D7;
        display: flex;
        justify-content: center;
        padding: 20px;
        border-radius: 8px;
    }
    .ww-user-book-list-shortcode .ww-watchlist-container .ww-user-watchlist .ww-user-watchlist-item {
        padding:16px !important;
    }
    .ww-user-book-list-shortcode .ww-watchlist-container .ww-user-watchlist .ww-user-watchlist-item .ww-user-watchlist-inner  .ww-content-row.ww-book-meta-data {
        display: flex;
        gap: 12px;
        align-items: flex-start;
        flex-direction: column;
    }
    .ww-user-book-list-shortcode .ww-watchlist-container .ww-user-watchlist .ww-user-watchlist-item .ww-user-watchlist-inner .ww-book-link {
        margin-top: 16px !important;
        padding: 10px 24px;
        background-color: var(--ww-primary-color);
        margin: 0;
        font-family: var(--ww-font);
        font-size: var(--ww-size-m);
        line-height: var(--ww-size-l);
        color: var(--ww-text-white);
        font-weight: 600;
        border-radius: 10px;
        width:100%;
        text-align:center;
    }
    .ww-book-listing-section .ww-book-listing-row {
        display: flex !important;
        gap: 32px !important;
    }
	.ww-user-book-list-shortcode .ww-warning-message {
		margin-bottom:8px !important;
	}
	.ww-user-book-list-shortcode .ww-watchlist-container .ww-user-watchlist .ww-user-watchlist-item .ww-user-watchlist-inner .ww-watchlist-left {
		max-height: 248px !important;
	}
}