/* ==========================================================================
   Botenz Companion Frontend Styles
   ========================================================================== */

.botenz-facebook-follow, .botenz-instagram-follow, .botenz-celebrate-birthday {
	cursor: pointer;
}

.botenz-tier-container {
	 max-width: 650px;
	 margin: 0 auto;
	 font-family: Arial, Helvetica, sans-serif;
	 text-align: center;
	 padding: 20px;
}
.botenz-tier-title {
	font-family: "Avenir Medium", Sans-serif;
	color: #384a22;
	font-size: 36px;
	font-weight: 400;
	line-height: 58px;
	letter-spacing: 1px;
	margin: 0 !important;
}
.botenz-tier-subtitle {
	font-family: "Avenir Medium", Sans-serif;
	color: #8d978a;
	font-size: 16px;
	font-weight: 400;
	text-transform: uppercase;
	line-height: 18px;
	letter-spacing: 1px;
	margin-bottom: 20px;
}
.botenz-tier-status-heading {
	font-family: "Avenir Book", Sans-serif;
	color: #384a22;
	font-size: 20px;
	font-weight: 600;
	line-height: 32px;
	letter-spacing: 1px;
}
.botenz-tier-status-text {
	font-family: "Avenir Book", Sans-serif;
	color: #384a22;
	font-size: 14px;
	font-weight: 600;
	line-height: 22px;
	letter-spacing: 1px;
	margin-bottom: 35px;
}
.botenz-tier-progress-bar-wrap {
	border: 2px solid #384a22;
	border-radius: 20px;
	height: 29px;
	position: relative;
	background: #ffffff;
	margin-bottom: 15px;
	box-sizing: border-box;
}

@keyframes botenzLoadProgressBar {
	0% { width: 0%; opacity: 0; }
	10% { opacity: 1; }
	100% { width: var(--target-width); opacity: 1;}
}

.botenz-tier-progress-fill {
	background-color: #384a22;
	height: 100%;
	border-radius: 18px;
	position: relative;
	min-width: 10px;
	width: 0; /* Wait at 0 width until JS triggers it */
}

/* The animation only fires when the "botenz-animate" class is added by Javascript */
.botenz-tier-progress-fill.botenz-animate {
	animation: botenzLoadProgressBar 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes botenzFadeInText {
	0% { opacity: 0; }
	80% { opacity: 0; }
	100% { opacity: 1; }
}

.botenz-tier-progress-text {
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	opacity: 0;
}

/* Text also waits for the animate class */
.botenz-tier-progress-fill.botenz-animate .botenz-tier-progress-text {
	animation: botenzFadeInText 1.5s ease forwards;
}

.botenz-tier-labels {
	display: flex;
	justify-content: space-between;
	color: #384a22;
	font-weight: 700;
	font-size: 15px;
	padding: 0 10px;
}
.botenz-tier-label-left, .botenz-tier-label-right {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.botenz-tier-label-points {
	font-size: 17px;
	margin-bottom: 5px;
}
.botenz-tier-label-name {
	text-transform: uppercase;
}

/* Birthday Modal Responsiveness */
#botenz-birthday-popup {
    max-width: 90% !important;
    width: 350px !important;
    box-sizing: border-box !important;
    padding: 20px !important;
}
.botenz-inputs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}
.botenz-inputs div {
    flex: 1;
    min-width: 0;
}
.botenz-inputs input {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    text-align: center;
}

@media screen and (max-width: 915px) and (min-width: 768px) {
	
	#botenz-birthday-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: unset !important;
	}
	
	#botenz-save-birthday {
    background: #2d461a;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px !important;
    font-size: 13px !important;
    cursor: pointer;
    width: 100%;
	}
}
@media screen and (max-width: 430px) {
	
	
	#botenz-birthday-popup-overlay {
    padding: unset !important;
	border-radius: 10px;
	}
	
	#botenz-popup-close {
		top: 2px;
		right: 0px;
	}
	
	#botenz-birthday-popup {
    padding: 20px 5px !important;
	}
	
	#botenz-save-birthday {
    background: #2d461a;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px !important;
    font-size: 13px !important;
    cursor: pointer;
    width: 100%;
	}
    .botenz-inputs input {
        padding: 8px 5px !important;
        font-size: 14px !important;
    }
}

/* Redeem Points Modal */
#botenz-redeem-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
#botenz-redeem-popup {
    background: #f2fcf6;
    max-width: 90%;
    width: 450px;
    border-radius: 8px;
    padding: 30px;
    position: relative;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
#botenz-redeem-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #1a4331;
}
.botenz-redeem-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    gap: 15px;
}
.botenz-redeem-icon span {
    display: inline-block;
    background: #2a4c3b;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 20px;
}
.botenz-redeem-title h3 {
    margin: 0;
    color: #1a4331;
    font-size: 22px;
    font-weight: 600;
}
.botenz-redeem-title p {
    margin: 5px 0 0;
    color: #1a4331;
    font-size: 14px;
}
.botenz-redeem-input-wrap input {
    width: 100%;
    padding: 15px;
    font-size: 20px;
    text-align: center;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    box-sizing: border-box;
}
.botenz-redeem-calculation {
    text-align: center;
    color: #1a4331;
    font-size: 15px;
    font-weight: 600;
    margin: 15px 0 20px;
}
#botenz-redeem-submit-btn {
    background: #2a4c3b;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    width: max-content;
    margin: 0 auto;
    display: block;
    letter-spacing: 1px;
}