/* rj-extended-styles.css */

.rj-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 30px 40px 30px !important;
    background-color: #FFFFFF;
    border-radius: 8px;
	font-family: 'Space Grotesk', sans-serif !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.rj-container h2 {
   font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    color: #3b3b3b !important;
    margin-bottom: 15px;
}

.rj-container h3 {
   font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    color: #3b3b3b;
    margin-top: 30px;
}

.rj-container p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #333333;
}

.rj-container textarea {
    width: 100%;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    padding: 10px;
    margin-bottom: 0px;
    border: 1px solid #CCC;
    border-radius: 4px;
    resize: vertical;
}

.rj-container input[type="submit"], .rj-container button {
    background-color: #000;
    color: #FFFFFF;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    padding: 10px 50px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.rj-container input[type="submit"]:hover, .rj-container button:hover {
    background-color: #000;
}

.rj-letter-box {
    background: #f7f7f7;
    padding: 15px;
    margin: 15px 0;
	padding-top:30px;
    border: 1px solid #CCC;
    border-radius: 4px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    
}

.rj-disclaimer {
    font-size: 14px;
    color: #666666;
    margin-top: 10px;
}

.rj-feedback p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    color: #333333;
}

.rj-feedback form {
    display: inline;
}

.rj-feedback button {
    background-color: #28A745;
    margin-right: 10px;
    padding: 8px 16px;
    border-radius: 4px;
}

.rj-feedback button:hover {
    background-color: #218838;
}

/* Hero Plugin Specific Styles */
.rj-hero-plugin {
    margin-top: 20px;
}

/* Loading Indicator */
#rj_loading_indicator p {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 16px;
    color: #333333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .rj-container {
        padding: 15px;
    }

    .rj-container h2 {
        font-size: 28px;
    }

    .rj-container h3 {
        font-size: 20px;
    }

    .rj-container p {
        font-size: 16px;
    }

    .rj-container textarea {
        font-size: 14px;
    }

    .rj-container input[type="submit"], .rj-container button {
        font-size: 14px;
        padding: 8px 16px;
    }
}

/* Responsive grid for scenario tiles */
.rj-scenario-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.rj-scenario-tile {
    background-color: #f9f9f9;
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
   font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.rj-scenario-tile:hover {
    background-color: #e9f8fb;
    border-color: #ccc;
}

.rj-scenario-tile.selected {
    border-color: #007BFF;
    background-color: #eaf4ff;
}

/* The general search bar label, optional spacing, etc. */
.rj-general-question {
    margin-bottom: 20px;
	
}

.rj-general-question h3{color:#3b3b3b !important}

/* ---- Center & Highlight Next Button ---- */
.rj-next-button-container {
    text-align: center; /* center the button container */
    margin-top: 30px;
}

.rj-next-button-container input[type="submit"] {
    /* Override or extend existing button styles here */
    background-color: #4682B4;
    color: #FFFFFF;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;   /* Larger font for prominence */
    padding: 20px 50px; /* Increase padding for a chunkier button */
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-bottom:10px;
  position:relative;
  top:-10px
  
}

.rj-next-button-container input[type="submit"]:hover {
    background-color: #d93f00 !important;
}



/* Scenario Tiles Container */
.rj-scenario-tiles {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
}

/* Individual Scenario Tile */
.rj-scenario-tile {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
    background-color: #f9f9f9;
    width: calc(33.333% - 20px); /* Three tiles per row */
    box-sizing: border-box;
}

.rj-scenario-tile i {
    font-size: 24px;
    margin-right: 10px;
    color: #333;
}

.rj-scenario-tile span {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

/* Hover Effect */
.rj-scenario-tile:hover {
    background-color: #e9f8fb !important;
    border-color: #999;
}

/* Selected Scenario Tile */
.rj-scenario-tile.selected {
    border-color: #0073aa;
    background-color: #d0e9ff;
}

/* Hidden Tiles */
.rj-scenario-tile.hidden {
    display: none;
}

/* Load More / Load Less Button */
.rj-load-more-button {
    display: block;
    margin: 20px auto 0 auto;
    padding: 10px 20px;
    background-color: #59788e !important;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.rj-load-more-button:hover {
    background-color: #59788e !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .rj-scenario-tile {
        width: calc(50% - 20px); /* Two tiles per row on tablets */
    }
  
    .rj-next-button-container input[type="submit"] {
    /* Override or extend existing button styles here */
    background-color: #4682B4;
    color: #FFFFFF;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;   /* Larger font for prominence */
    padding: 15px 30px; /* Increase padding for a chunkier button */
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-bottom:0px;
  
  margin-top:19px
  
}
  
  
  
  

  
  
  
  
  .rj-container {
   
    padding: 20px 20px 40px 35px;}
}

@media (max-width: 480px) {
    .rj-scenario-tile {
        width: 100%; /* One tile per row on mobile */
    }
  
  
  .rj-next-button-container input[type="submit"] {
    /* Override or extend existing button styles here */
    background-color: #4682B4;
    color: #FFFFFF;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;   /* Larger font for prominence */
    padding: 15px 30px; /* Increase padding for a chunkier button */
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-bottom:0px;
  
  margin-top:19px
  
}
  
  
  .rj-container {
   
    padding: 20px 20px 40px 35px;}
  
  #rj_custom_question {margin-bottom:-10px !important}
}


/* Action Buttons Styling */
.rj-action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.rj-copy-button, .rj-download-button {
    padding: 12px 24px;
    font-size: 16px;
    font-family: 'Space Grotesk', sans-serif;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.rj-copy-button {
    background-color: #4682B4 !important; /* Green */
}

.rj-copy-button:hover {
    background-color: #218838;
}

.rj-download-button {
    background-color: #0073aa; /* Blue */
}

.rj-download-button:hover {
    background-color: #005177;
}

/* Icon Styling */
.rj-action-buttons i {
    font-size: 18px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .rj-action-buttons {
        gap: 10px;
    }

    .rj-copy-button, .rj-download-button {
        padding: 10px 20px;
        font-size: 14px;
    }
  
}

@media (max-width: 480px) {
    .rj-action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .rj-copy-button, .rj-download-button {
        width: 100%;
        max-width: 250px;
    }
	
	.rj-copy-button {
    
	padding:13px 13px !important
}
  
  

}







/* Style for all buttons */
.rj-next-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #4682B4;
    color: white !important;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    margin: 10px 0;
}

/* Hover effect */
.rj-next-button:hover {
    background-color: #b33400;
    color: #fff;
}

/* Specific style for Ask Another Question button */
input[value="Ask Another Question"].rj-next-button {
    background-color: #4CAF50; /* Green color */
}

input[value="Ask Another Question"].rj-next-button:hover {
    background-color: #45a049;
}



.rj-next-button {
    position: relative;
    padding-right: 30px !important;
	margin-top:-5px !important
	
}

.rj-next-button::after {
    content: "\f061"; /* Unicode for fa-arrow-right */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* Specific styles for User Details and Recipient Details */
.user-details,
.recipient-details {
    margin-bottom: 20px !important;
    line-height: 1.3;
}

/* Optional: Additional styling to differentiate the blocks */
.user-details {
    background-color: #f9f9f9; /* Light grey background */
    padding: 15px !important;
    border-radius: 5px !important;
}

.recipient-details {
    background-color: #e9f7ef; /* Light green background */
    padding: 15px !important;
    border-radius: 5px !important;
}





/* Submit Question Button */
.rj-submit-question-button {
    background-color: #D93F00 !important;
    color: white;
    padding: 15px 20px 15px 20px !important;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    margin: 20px auto !important;
}

.rj-submit-question-button:hover {
    background-color: #666;
    margin: 0 auto !important
}

.rj-button-container {
    margin-top: 20px;
    display: flex;
    justify-content: center; /* Centers the button(s) */
    /* Optional: Add vertical centering and spacing */
    /* align-items: center; */
    /* gap: 10px; */
}

.rj-button-container {
    margin-top: 20px;
    display: flex;
    justify-content: center; /* Centers the button(s) */
    /* Optional: Add vertical centering and spacing */
    /* align-items: center; */
    /* gap: 10px; */
}

/* Center the Submit Question button */
.rj-submit-question-center {
    display: block !important;              /* Makes the button a block-level element */
    margin: 0 auto;              /* Centers the button horizontally */
    /* Optional: Customize button appearance */
    /* padding: 10px 20px; */
    /* background-color: #4CAF50; */
    /* color: white; */
    /* border: none; */
    /* border-radius: 5px; */
    /* cursor: pointer; */
}




@media screen and (max-width: 768px) {/* Center the Submit Question button */
.rj-submit-question-center {
    display: block !important;              /* Makes the button a block-level element */
    margin: 20px auto;              /* Centers the button horizontally */
    /* Optional: Customize button appearance */
    /* padding: 10px 20px; */
    /* background-color: #4CAF50; */
    /* color: white; */
    /* border: none; */
    /* border-radius: 5px; */
    /* cursor: pointer; */
}
}

@media screen and (max-width: 450px) {

  .rj-format-choice{margin-bottom:30px}

}
/* Target only the sender's signature block paragraphs in email output */
.rj-sender-signature p {
    margin-bottom: 0.3em !important;
    line-height: 1.2 !important;
}



/* Loading Overlay */
.rj-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: 'Space Grotesk', sans-serif !important;
    z-index: 9999;
}

/* Spinner Animation */
.rj-loading-spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #4682B4;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: rj-spin 1s linear infinite;
}

@keyframes rj-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}






/* In css/rj-extended-styles.css */
.rj-regenerate-section {
    margin-top: 30px;
    padding: 20px;
    background-color:  #f7f7f7;
    border: 1px solid #dee2e6;
    border-radius: 5px;
}

#rj_regenerate_instructions {
    width: 100%;
    margin: 10px 0;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.rj-regenerate-button {
    background-color: #4682B4 !important;
    color: white;
    padding: 15px 20px 15px 20px !important;
    border-radius:30px !important;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    
    
    display: block;      /* Makes the button a block-level element */
    margin: 0 auto;      /* Centers the button horizontally */
}

.rj-regenerate-button:hover {
    background-color: #4682B4;
}

/* In your plugin's CSS file */
.rj-regenerate-section {
    background: #f7f7f7;
    border: 1px solid #dee2e6;
    padding: 20px;
    margin-top: 30px;
    border-radius: 5px;
}

.rj-regenerate-section h3 {
    color: #333;
    margin-top: 0;
}



.rj-container h2{font-size:30px}@media (min-width: 769px) {
  .rj-container h2 {
    font-size: 30px !important;
  }
	
		.rj-container {padding:15px 40px 35px 40px}
  .rj-loading-text {
    margin-top: 15px;
    color: #4682B4;
    font-weight: bold;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 1.3em;
}
  #toast-container{ font-family: 'Space Grotesk', sans-serif !important; font-size:16px}
  
  .rj-container p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px !important;
    line-height: 1.6;
    color: #333333;
}

.rj-general-question {margin-top:30px !important}
}

@media (max-width: 768px) {
  .rj-container h2 {
    font-size: 21px !important;
		line-height:1.3
  }
	.rj-container {padding:10px 20px 25px 20px}
   
  .rj-loading-text {
    margin-top: 15px;
    color: #4682B4;
    font-weight: bold;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 13px
	
}
    #toast-container{ font-family: 'Space Grotesk', sans-serif !important; font-size:12px}
	 .rj-container p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px !important;
    line-height: 1.6;
    color: #333333;
}

.rj-general-question {margin-top:17px !important}
}

* 	.rj-container h1, h2, h3, h4, h5, h6, p{font-family: 'Space Grotesk', sans-serif;}

/* Style all input fields and textareas within the details sections */
.rj-user-details input,
.rj-user-details textarea,
.rj-recipient-details input,
.rj-recipient-details textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

/* Specific style for textareas */
.rj-user-details textarea,
.rj-recipient-details textarea {
    height: 80px;
    resize: vertical;
}

/* Style for labels */
.rj-user-details label,
.rj-recipient-details label {
    display: block;
    margin-bottom:0px !important;
    font-weight: bold;
    color: #333;
}

/* Container styling */
.rj-user-details,
.rj-recipient-details {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin: 5px 0;
    border: 1px solid #eee;
}


.rj-user-details input:focus,
.rj-user-details textarea:focus,
.rj-recipient-details input:focus,
.rj-recipient-details textarea:focus {
    border-color: #4682B4;
    outline: none;
    box-shadow: 0 0 3px rgba(217,63,0,0.3);
}





input:focus,
textarea:focus,
input:focus,
textarea:focus {
    border-color: #4682B4;
    outline: none;
}



/* Style all input fields and textareas within the details sections */
.rj-user-details input,
.rj-user-details textarea,
.rj-recipient-details input,
.rj-recipient-details textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

/* Specific style for textareas */

textarea {
    height: 80px;
    resize: vertical;
}

strong {
  /* Your CSS rules here */
  font-family: 'Arial', sans-serif !important;
  font-weight:normal 
}

label{font-family: 'Arial', sans-serif;
  font-weight:normal !important}

.rj-general-question label strong{font-family: 'Arial', sans-serif !important;
  font-weight:bold !important;}
.rj-recipient-details label{ margin-top:0px !important;position:relative !important; bottom:-11px !important}

.rj-user-details label{ margin-top:0px !important;position:relative !important; bottom:-11px !important}


.rj-recipient-details{padding-top:0px !important}
.rj-user-details{padding-top:0px !important}


#rj_include_recipient_no{margin-top:20px !important}


.guidence{border: 2px dashed #ccc; padding: 15px; margin-top: 25px !important;  margin-bottom: 42px !important;
font-family: 'Space Grotesk', sans-serif !important;

}

.guidence{padding:9px 30px 20px 30px !important;}

.guidence ul { font-size:16px; margin-left:20px !important; margin-top:-7px !important; padding-left:0px !important; }

.rj-format-choice h3{color:#3b3b3b !important;}

.guidence ul li{margin-bottom:10px !important; font-size:15px !important; line-height:24px !important; font-weight:normal !important; font-family: 'Space Grotesk', sans-serif !important;}
/* Pricing Table Styles */
.rj-pricing-container {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin: 2rem 0;
}

.rj-pricing-tier {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.rj-pro-tier {
    background: #f8f9fa;
    border: 2px solid #4682B4;
}

.rj-price {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 1rem 0;
    color: #4682B4;
}

/* Dashboard Styles */
.rj-dashboard {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.rj-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.rj-stat-box {
    flex: 1;
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Alert Styles */
.rj-alert {
    padding: 1rem;
    background: #fff3cd;
    border-radius: 4px;
    margin: 1rem 0;
}

a.rj-create-account-link{color:#4682B4 !important}
a.rj-forgot-password-link{color:#4682B4 !important}
.rj-divider{color:#4682B4 !important}

#redirectNowBtn{font-weight:bold !important}

.rj-recipient-details label{margin-bottom:-10px !important;}

.rj-user-details label{margin-bottom:-10px !important;}


/* Container for action buttons */
.rj-action-buttons {
  margin-top: 30px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Shared styles for buttons and links */
.rj-action-buttons button,
.rj-action-buttons a {
  padding: 10px 20px;
  background-color: #4682B4;  /* Default background */
  color: #fff;                /* White text */
  border-radius: 4px;
  text-decoration: none;      /* No underline */
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  text-align: center;
}

/* Ensure white text and no underline in all states for links */
.rj-action-buttons a,
.rj-action-buttons a:hover,
.rj-action-buttons a:active,
.rj-action-buttons a:focus {
  color: #fff;
  text-decoration: none !important;
  background-color: #4682B4;  /* Keep background color consistent */
}

/* Remove any hover background changes on buttons */
.rj-action-buttons button:hover,
.rj-action-buttons button:active,
.rj-action-buttons button:focus {
  background-color: #4682B4;  /* Keep background color consistent */
}

/* Mobile: Stack buttons vertically */
@media (max-width: 300px) {
  .rj-action-buttons {
    flex-direction: column;
  }
}

/* Styles for the Back button form */
.rj-back-form {
  margin-top: 20px;
  text-align: center;
}

.rj-back-button {
  padding: 10px 15px;
  background-color: #59788e;
  border: none;
  border-radius: 20px;
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
}

/* Ensure the back button background color remains the same on hover */
.rj-back-button:hover,
.rj-back-button:active,
.rj-back-button:focus {
  background-color: #59788e;
  color: #fff;
  text-decoration: none;
}

/* Optional: Icon spacing for the back button */
.rj-back-button i {
  margin-right: 8px;
}



	
	
	
	

	.overview{margin-top:20px !important}
	
.cancelsub{margin-top:30px !important}


/* Submit Question Button Shadow */
.rj-submit-question-center {
    box-shadow: 3px 4px 12px -8px #000000;
}

/* Button Container Input Shadow */
.rj-button-container input {
    box-shadow: 3px 4px 12px -8px #000000 !important;
}

/* Next Button Shadow */
.rj-next-button {
    box-shadow: 3px 4px 12px -8px #000000 !important;
}

/* Regenerate Button Shadow */
 .rj-regenerate-button {
    box-shadow: 3px 4px 12px -8px #000000 !important;
}

 .rj-action-buttons button,
 .rj-action-buttons a {
    box-shadow: 1px 2px 10px -6px #000000 !important;
}


@media (min-width: 500px) {
	.welc{font-size:26px !important; color:#00416a !important}}

@media (max-width: 499px) {
	.welc{font-size:22px !important; color:#00416a !important}}

@media (max-width: 499px) {
.seccessborder{border:none !important;

box-shadow:none !important}
	
	.rj-auth-tabbed-container{border-radius:0px !important; box-shadow: none! important;

margin-top:0px !important;
margin-bottom: 0px !important;

}
  
  .hidedoc{display:none}
	

}




@media (min-width: 501px) and (max-width: 767px) {
  .seccessborder {
    padding:30px
  }
	
	

}
#rj_regenerate_instructions, #rj-regenerate-form{line-height:1.4em !important}


form label {
  font-family: 'Space Grotesk', sans-serif !important;
}



.spg{
  font-family: 'Space Grotesk', sans-serif !important;
  margin-bottom:10px !important;
  float:left
}

@media (min-width: 500px) {  .shrinkfont{ margin-top:50px !important; font-size:21px !important}
 .spg{font-size:21px !important}  .prefform{font-size:21px !important} #rj_include_details, #rj_include_recipient_yes, #rj_include_recipient_no{position:relative; bottom:-2px !important}
.isclaimer{font-weight:bold !important}


  

}

@media (max-width: 499px) {
 .spg{font-size:18px !important; float:left !important; line-height:1.4em !important}
  
  .shrinkfont{font-size:18px !important; margin-top:30px !important; line-height:1.4em !important}
  
  .prefform{font-size:18px !important; margin-top:40px !important; margin-bottom:10px !important;
    line-height:1.4em !important}
  
  #rj_include_details, #rj_include_recipient_yes, #rj_include_recipient_no{position:relative; bottom:-3px !important}
.isclaimer{font-weight:bold !important}

}


#rj_include_recipient_yes, #rj_include_recipient_no{margin-top:4px !important}

 strong {
  font-family: 'Space Grotesk', sans-serif !important;
	 
	

}

strong  {
  display: inline-flex;
  align-items: flex-start;
  line-height: 1.5;
}



.spg{
  font-family: 'Space Grotesk', sans-serif !important;
 font-weight:bold !important;
}

.rj-format-choice input {position:relative !important; bottom:-1px !important}


@media only screen and (min-width: 907px) {
#rj-cancellation-overlay{position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 9999; display: flex; justify-content: center; align-items: center;}
}


@media only screen and (max-width: 906px) {
 #rj-cancellation-overlay{position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 9999;
	padding:40px}}


/* Base styling for .backalert on p tags */
.backalert {
  background-color: #fff !important;
  color: #4682B4 !important;
  border-radius: 8px !important; /* Adjust as needed for desired roundness */
  padding: 16px !important; /* Provides ample spacing */
  
  margin: 16px auto !important;
  max-width: 90% !important; /* Keeps it responsive within the container */
}

/* Responsive adjustments */
/* For tablets */
@media (min-width: 600px) {
  .backalert {
    padding: 20px !important;
    max-width: 80% !important;
  }
}

/* For desktops */
@media (min-width: 992px) {
  .backalert {
    padding: 24px !important;
    max-width: 60% !important;
  }
}

/* For mobile devices */
@media (max-width: 599px) {
  .backalert {
    padding: 12px !important;
    max-width: 95% !important;
  }
}
  


.rj-error {
  margin-bottom: 15px !important;
}

.rj-auth-form {
  padding: 30px !important;
  border:none !important;
}

.rj-auth-form {
  margin-bottom: 15px !important;

}


.rj-letter-box[contenteditable="true"] {
    position: relative;
}



@media (min-width: 992px) {


.rj-letter-box[contenteditable="true"]::after {
    content: "\f303"; /* Font Awesome pen icon (ensure your FA version uses this Unicode) */
    font-family: "Font Awesome 6 Free"; /* Adjust the font-family if needed */
    font-weight: 900; /* Use the appropriate weight for the icon */
    position: absolute;
    right: 10px;
    bottom: 10px;
  background-color:#000;
  opacity:0.3;
  border-radius:5px;
  cursor: pointer; /* Show pointer on hover */;
  padding:5px 10px 5px 10px;
    color: #fff; /* Change icon color as desired */
    font-size: 18px; /* Adjust size as needed */
}



}


@media (max-width: 991px) {


.rj-letter-box[contenteditable="true"]::after {
    content: "\f303"; /* Font Awesome pen icon (ensure your FA version uses this Unicode) */
    font-family: "Font Awesome 6 Free"; /* Adjust the font-family if needed */
    font-weight: 900; /* Use the appropriate weight for the icon */
    position: absolute;
    right: 10px;
    bottom: 10px;
  background-color:#000;
  opacity:0.3;
  border-radius:5px;
  cursor: pointer; /* Show pointer on hover */;
  padding:5px 10px 5px 10px;
    color: #fff; /* Change icon color as desired */
    font-size: 13px; /* Adjust size as needed */
}



}


.rj-letter-box[contenteditable="true"]:focus {
    outline: 2px solid #00d66f; /* Custom focus outline */
}

#rj_regenerate_instructions:focus{outline: 2px solid #00d66f; /* Custom focus outline */}


/* --- Begin New CSS for Locked Tiles with Fully Opaque Padlock Icon --- */
.rj-scenario-tile.locked-tile {
    pointer-events: none !important;
    filter: grayscale(100%) !important;
    background-color: #f0f0f0 !important;
    position: relative;
    /* Do not set opacity here so children can have separate opacity */
}

.rj-scenario-tile.locked-tile .tile-content {
    opacity: 0.3;  /* Dim only the tile's main content */
}

.rj-scenario-tile.locked-tile .lock-overlay {
    position: absolute;
    top: 7px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 0px !important;
    opacity: 1 !important;      /* Force full opacity on the overlay */
    filter: none !important;      /* Remove any filters */
    z-index: 10;                 /* Ensure it sits on top */
}

.rj-scenario-tile.locked-tile .lock-overlay i {
    font-size: 16px !important;
    color: #696969!important;
    opacity: 1 !important;       /* Force padlock icon to be fully opaque */
    filter: none !important;
}

.rj-scenario-tile.locked-tile .lock-overlay .required-plan-text {
    font-size: 12px;
    color: #696969;
    font-weight: bold;
    opacity: 1 !important;       /* Ensure the text is fully opaque */
    filter: none !important;
}
/* --- End New CSS for Locked Tiles with Fully Opaque Padlock Icon --- */


.rj-scenario-tile.locked-tile .lock-overlay  .fa-lock{font-size: 16px !important;  color: #696969 !important; right:-5px !important; position:relative !important }




.rj-download-button.disabled {
    background-color: #ccc;  /* Grey background for disabled state */
    pointer-events: none;    /* Disable interactions */
    position: relative;
  padding: 6.5px 15px 6.5px 15px;
    border-radius: 4px;
    text-align: center;
    display: inline-block;
}

/* Fade only the button text */
.rj-download-button.disabled .button-text {
    opacity: 0.7;  /* Adjust this value as desired */
}

/* Center the overlay (padlock and upgrade text) in the button */
.download-lock-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 1 !important;
    z-index: 10;
}

.download-lock-overlay i {
    font-size: 16px !important;
    color: #696969!important;
    opacity: 1 !important;
}

.download-lock-overlay .required-plan-text {
    font-size: 14px;
   color: #696969!important;
    font-weight: bold;
    opacity: 1 !important;
}
/* --- End New CSS: Centered Overlay on Disabled Button --- */

/* Dark text for allowed tone options */
#tone_of_voice option:enabled {
    color: #000 !important;  /* Dark text */
}

/* Lighter text for disabled tone options */
#tone_of_voice option:disabled {
    color: #999 !important;  /* Light grey text */
}
.tones{color: #111827 !important;
  font-size: 14px!important; float:left;
margin-bottom:10px}


/* --- Begin Enhanced Professional Pricing Boxes CSS --- */
.rj-pricing-plans-container {
    padding: 3rem 1.5rem;
    font-family: 'Poppins', sans-serif; /* Add a modern font */
}

.rj-plans-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: center;
    align-items: stretch;
}

.rj-plan-box {
    flex: 1 1 300px;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border: none;
    border-radius: var(--border-radius, 0.8rem);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Price header styling */
.plan-header {
    margin-bottom: 1.5rem;
    position: relative;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #333;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary, #00416A);
    margin-bottom: 0.5rem;
}

.plan-duration {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
}

/* Optional: Hover effect */
.rj-plan-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Highlight popular plan */
.rj-plan-box.popular {
    border: 2px solid var(--color-primary, #00416A);
    position: relative;
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 1.5rem;
    background: var(--color-primary, #00416A);
    color: white;
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
    border-radius: 0 0 0.5rem 0.5rem;
    font-weight: 600;
    z-index: 1;
}

.plan-details {
    max-height: 150px; /* Instead of height: 150px; */
    overflow: hidden;
    transition: max-height 0.5s ease;
    margin-bottom: 0 !important;
    position: relative;
}

.plan-details.expanded {
    max-height: 1200px; /* Set to a value that's higher than the expected content height */
}

/* Base styles for all plan features */
.plan-features {
    text-align: left;
    width: 100%;
    padding: 0;
    margin: 0.5rem 0;
    list-style-type: none;
}

/* First level list items */
.plan-features > li {
    padding: 0.6rem 0;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}

/* Add icons to first level list items */
.plan-features > li:before {
    content: "\f00c"; /* Font Awesome checkmark */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 0.8rem;
    color: var(--color-primary, #00416A);
    font-size: 0.9rem;
    padding-top: 0.2rem; /* Align with text */
    flex-shrink: 0;
}

/* Last plan feature item */
.plan-features > li:last-child {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    border-bottom: none !important;
}

/* Nested list container */
.plan-features ul {
    list-style-type: none;
    margin: 0.5rem 0 0.5rem 1.8rem;
    padding: 0;
    width: 100%;

}

/* Nested list items */
.plan-features ul li {
    padding: 0.4rem 0;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: flex-start;
    line-height: 1.4;
    color: #555;
}

/* Add different icon to nested list items */
.plan-features ul li:before {
    content: "\f054"; /* Font Awesome chevron right */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 0.6rem;
    color: var(--color-secondary, #0078D7);
    font-size: 0.7rem;
    padding-top: 0.3rem; /* Align with text */
    flex-shrink: 0;
}

/* Ensure text wrapping for all list items */
.plan-features li,
.plan-features ul li {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    width: 100%;
    padding-right: 5px; /* Add some padding on the right to prevent text from touching the edge */
}

/* Specific fix for nested items that might contain "Pro exclusive" */
.plan-features ul li {
    padding-right: 10px;
    margin-right: 5px;
    width: calc(100% - 15px); /* Subtract the added padding/margin */
}

/* Styling for small text */
.plan-features small {
    font-size: 0.8rem;
    color: #666;
    font-style: italic;
    display: inline-block;
    word-break: keep-all; /* Keep "Pro exclusive" together */
}

/* Read More link styling */
.read-more {
    display: inline-block;
    margin: 12px 0 1.5rem !important; /* Negative top margin with !important */
    color: var(--color-primary, #00416A);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  outline:none !important;
}

.read-more:hover {
    color: var(--color-secondary, #0078D7);
}

.read-more:after {
    content: "\f107"; /* Font Awesome down arrow */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.read-more.active:after {
    content: "\f106"; /* Font Awesome up arrow */
}

/* CTA button styling */
.plan-cta {
    margin-top: auto; /* Push to bottom of flex container */
    padding-top: 1rem;
}

.plan-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--color-primary, #00416A);
    color: white;
    border-radius: 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid var(--color-primary, #00416A);
    width: 100%;
}

.plan-button:hover {
    background: transparent;
    color: var(--color-primary, #00416A);
}

/* Additional styling for most popular plan button */
.popular .plan-button {
    background: var(--color-secondary, #0078D7);
    border-color: var(--color-secondary, #0078D7);
}

.popular .plan-button:hover {
    background: transparent;
    color: var(--color-secondary, #0078D7);
}

/* Fade effect at the bottom of collapsed content */
.plan-details:not(.expanded):after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px; /* Reduced from 50px to 30px */
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
    pointer-events: none;
}

/* Media query for mobile devices */
@media (max-width: 767px) {
    .plan-details {
        /* Slightly smaller initial height on mobile */
        max-height: 120px;
        /* Faster transition on mobile to improve responsiveness */
        transition: max-height 0.6s cubic-bezier(0, 1, 0, 1);
    }
    
    .plan-details.expanded {
        /* Different timing function when expanding */
        transition: max-height 1s ease-in-out;
    }
    
    /* Ensure the read more button is clearly visible and tappable on mobile */
    .read-more {
        padding: 8px 15px;
        margin: -10px 0 10px !important;
        display: inline-block;
        min-width: 120px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .rj-plans-grid {
        display: block !important;
    }
    
    .rj-plan-box {
        margin-bottom: 2rem; /* add spacing between stacked boxes */
        padding: 2.5rem 1.5rem; /* Slightly reduce horizontal padding */
        width: 100%;
        box-sizing: border-box;
    }
    
    .rj-plan-box:last-child {
        margin-bottom: 0; /* remove margin from last box */
    }
    
    /* Ensure all text is visible */
    .plan-features {
        width: 100%;
    }
  
  
  .read-more {
   
    margin: 12px 0 1.5rem !important; /* Negative top margin with !important */
  
}
}

/* Nested list container - specifically fixing mobile view */
@media (max-width: 768px) {
    .plan-features ul {
        list-style-type: none;
        margin: 0.5rem 0 0.5rem 1.8rem;
        padding: 0;
        width: calc(100% - 1.8rem) !important; /* Adjusted width calculation accounting for margin */
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: calc(100% - 1.8rem) !important;
    }
    
    /* Ensure text content inside nested list items doesn't overflow */
    .plan-features ul li {
        display: flex;
        padding-right: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }
    
    /* The actual text content inside list items */
    .plan-features ul li span,
    .plan-features ul li div,
    .plan-features ul li small {
        flex: 1;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        max-width: 100% !important;
    }
}


/* Ensure each social link is relatively positioned */
#rj-custom-contact a.custom-social {
  position: relative;
}

/* CSS for Font Awesome Icons using pseudo-elements */
#rj-custom-contact a.custom-social::before {
  content: "";
  font-family: "Font Awesome 6 Brands"; /* Ensure this font family is loaded */
  font-size: 20px;  /* Adjust icon size as needed */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: inherit; /* Inherits the link’s text color */
}

#rj-custom-contact a.custom-facebook::before {
  content: "\f39e"; /* Unicode for Facebook-F */
}

#rj-custom-contact a.custom-instagram::before {
  content: "\f16d"; /* Unicode for Instagram */
}

#rj-custom-contact a.custom-linkedin::before {
  content: "\f08c"; /* Unicode for LinkedIn */
}

#rj-custom-contact a.custom-google::before {
  content: "\f1a0"; /* Unicode for Google */
}

#rj-custom-contact a.custom-x::before {
  content:"𝕏";
	font-size:1.2em;
}
@media (max-width: 768px) {
    /* Force the grid to a single column on mobile devices */
    .rj-contact-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
  /* Reduce social icon container size on mobile */
  #rj-custom-contact a.custom-social {
    width: 29px !important;
    height: 29px !important;
  }
  /* Adjust the pseudo-element icon font size on mobile */
  #rj-custom-contact a.custom-social::before {
    font-size: 12px;
  }
}

