/*! darcy-1976fb build 2026-06-11 • do not edit; regenerated on deploy */
/* ==========================================================================
   Login Form Styles
   ========================================================================== */

.darcy-login-form {
	max-width: 400px;
	margin: 0 auto;
	padding: 20px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.darcy-login-title {
	text-align: center;
	margin-bottom: 20px;
	color: #333;
	font-size: 24px;
	font-weight: 600;
}

.darcy-field-group {
	margin-bottom: 20px;
}

.darcy-field-group label {
	display: block;
	margin-bottom: 5px;
	font-weight: 500;
	color: #555;
}

.darcy-field-group input[type="text"],
.darcy-field-group input[type="password"],
.darcy-field-group input[type="email"] {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 16px;
	transition: border-color 0.3s ease;
	box-sizing: border-box;
}

.darcy-field-group input:focus {
	outline: none;
	border-color: #0073aa;
	box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}
.darcy-field-group .login-actions{
	display: flex;
	justify-content: space-between;
}
.darcy-login-button {
	width: 100%;
	padding: 12px;
	background: #0073aa;
	color: white;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.darcy-login-button:hover {
	background: #005a87;
}

.darcy-login-button:disabled {
	background: #ccc;
	cursor: not-allowed;
}

.darcy-login-button .darcy-button-loading {
	display: none;
}

.darcy-login-button.loading .darcy-button-text {
	display: none;
}

.darcy-login-button.loading .darcy-button-loading {
	display: inline;
}

/* ==========================================================================
   Forgot Password Form Styles
   ========================================================================== */

.crm-forgot-password-form {
	max-width: 400px;
	margin: 0 auto;
	padding: 20px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.crm-forgot-password-title {
	text-align: center;
	margin-bottom: 20px;
	color: #333;
	font-size: 24px;
	font-weight: 600;
}

.crm-forgot-password-description {
	margin-bottom: 20px;
	color: #666;
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
}

.crm-reset-password-button {
	width: 100%;
	padding: 12px;
	background: #0073aa;
	color: white;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.crm-reset-password-button:hover {
	background: #005a87;
}

.crm-reset-password-button:disabled {
	background: #ccc;
	cursor: not-allowed;
}

.crm-reset-password-button .darcy-button-loading {
	display: none;
}

.crm-reset-password-button.loading .darcy-button-text {
	display: none;
}

.crm-reset-password-button.loading .darcy-button-loading {
	display: inline;
}

.crm-forgot-password-footer {
	margin-top: 20px;
	text-align: center;
}

.crm-back-to-login {
	color: #0073aa;
	text-decoration: none;
	font-size: 14px;
	transition: color 0.3s ease;
}

.crm-back-to-login:hover {
	color: #005a87;
	text-decoration: underline;
}

/* ==========================================================================
   Change Password Form Styles
   ========================================================================== */

.crm-change-password-form {
	max-width: 400px;
	margin: 0 auto;
	padding: 20px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.crm-change-password-title {
	text-align: center;
	margin-bottom: 20px;
	color: #333;
	font-size: 24px;
	font-weight: 600;
}

.crm-change-password-description {
	margin-bottom: 20px;
	color: #666;
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
}

.crm-change-password-button {
	width: 100%;
	padding: 12px;
	background: #0073aa;
	color: white;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.crm-change-password-button:hover {
	background: #005a87;
}

.crm-change-password-button:disabled {
	background: #ccc;
	cursor: not-allowed;
}

.crm-change-password-button .darcy-button-loading {
	display: none;
}

.crm-change-password-button.loading .darcy-button-text {
	display: none;
}

.crm-change-password-button.loading .darcy-button-loading {
	display: inline;
}

.crm-field-hint {
	display: block;
	margin-top: 5px;
	font-size: 12px;
	color: #666;
	font-style: italic;
}

.darcy-field-group input.error {
	border-color: #dc3232;
	box-shadow: 0 0 0 2px rgba(220, 50, 50, 0.2);
}

/* ==========================================================================
   Authentication Messages
   ========================================================================== */

.darcy-auth-messages {
	margin-bottom: 15px;
}

.crm-auth-message {
	padding: 10px;
	border-radius: 4px;
	margin-bottom: 10px;
}

.crm-auth-message.success {
	background: #d4edda;
	border: 1px solid #c3e6cb;
	color: #155724;
}

.crm-auth-message.error {
	background: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
}

.crm-auth-message.warning {
	background: #fff3cd;
	border: 1px solid #ffeaa7;
	color: #856404;
}

.crm-auth-message.info {
	background: #d1ecf1;
	border: 1px solid #bee5eb;
	color: #0c5460;
}

/* ==========================================================================
   User Dashboard Styles
   ========================================================================== */

.crm-user-dashboard {
	max-width: 800px;
	margin: 0 auto;
	padding: 20px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.crm-dashboard-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
}

.crm-dashboard-header h3 {
	margin: 0;
	color: #333;
	font-size: 28px;
}

.crm-dashboard-actions {
	display: flex;
	gap: 10px;
}

.crm-dashboard-content {
	display: grid;
	gap: 30px;
}

.crm-user-info-section,
.crm-subscription-section {
	background: #f9f9f9;
	padding: 20px;
	border-radius: 6px;
	border: 1px solid #e5e5e5;
}

.crm-user-info-section h4,
.crm-subscription-section h4 {
	margin-top: 0;
	margin-bottom: 15px;
	color: #333;
	font-size: 18px;
	font-weight: 600;
}

.crm-info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 15px;
}

.crm-info-item {
	display: flex;
	flex-direction: column;
}

.crm-info-item label {
	font-weight: 600;
	color: #666;
	margin-bottom: 5px;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.crm-info-item span {
	color: #333;
	font-size: 16px;
}

.crm-access-levels {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.crm-access-badge {
	display: inline-block;
	padding: 6px 12px;
	background: #0073aa;
	color: white;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.crm-access-badge.crm-access-level-1 {
	background: #46b450;
}

.crm-access-badge.crm-access-level-2 {
	background: #ffb900;
}

.crm-access-badge.crm-access-level-3 {
	background: #dc3232;
}

/* ==========================================================================
   Buttons and Links
   ========================================================================== */

.crm-button {
	display: inline-block;
	padding: 8px 16px;
	background: #0073aa;
	color: white;
	text-decoration: none;
	border: none;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
}

.crm-button:hover {
	background: #005a87;
	color: white;
	text-decoration: none;
}

.crm-button.crm-button-secondary {
	background: #666;
}

.crm-button.crm-button-secondary:hover {
	background: #444;
}

.crm-logout-link {
	color: #dc3232;
	text-decoration: none;
	font-weight: 500;
}

.crm-logout-link:hover {
	color: #a00;
	text-decoration: underline;
}

.crm-dashboard-link {
	color: #0073aa;
	text-decoration: none;
	font-weight: 500;
}

.crm-dashboard-link:hover {
	color: #005a87;
	text-decoration: underline;
}

/* ==========================================================================
   Logged-in Message
   ========================================================================== */

.crm-logged-in-message {
	text-align: center;
	padding: 20px;
	background: #f0f8f0;
	border: 1px solid #c8e6c9;
	border-radius: 8px;
	color: #2e7d32;
}

.crm-logged-in-message p {
	margin-bottom: 10px;
}

.crm-logged-in-message p:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   Content Protection Styles
   ========================================================================== */

.crm-access-denied {
	text-align: center;
	padding: 40px 20px;
	background: #fff3cd;
	border: 1px solid #ffeaa7;
	border-radius: 8px;
	margin: 20px 0;
}

.crm-access-message {
	font-size: 18px;
	color: #856404;
	margin-bottom: 20px;
}

.crm-login-link,
.crm-upgrade-link {
	display: inline-block;
	padding: 10px 20px;
	background: #0073aa;
	color: white;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 500;
	transition: background-color 0.3s ease;
}

.crm-login-link:hover,
.crm-upgrade-link:hover {
	background: #005a87;
	color: white;
	text-decoration: none;
}

/* ==========================================================================
   Error States
   ========================================================================== */

.crm-error {
	color: #dc3232;
	font-style: italic;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .darcy-login-form,
    .crm-forgot-password-form,
    .crm-change-password-form,
    .crm-user-dashboard {
	margin: 0 10px;
	padding: 15px;
}

    .crm-dashboard-header {
	flex-direction: column;
	align-items: flex-start;
	gap: 15px;
}

    .crm-dashboard-actions {
	align-self: stretch;
	justify-content: space-between;
}

    .crm-info-grid {
	grid-template-columns: 1fr;
}

    .crm-access-levels {
	justify-content: center;
}
}

@media (max-width: 480px) {
    .darcy-login-form,
    .crm-forgot-password-form,
    .crm-change-password-form {
	margin: 0 5px;
	padding: 10px;
}

    .darcy-login-title,
    .crm-forgot-password-title,
    .crm-change-password-title {
	font-size: 20px;
}

    .crm-dashboard-header h3 {
	font-size: 22px;
}

    .darcy-field-group input[type="text"],
    .darcy-field-group input[type="password"],
    .darcy-field-group input[type="email"],
    .darcy-login-button,
    .crm-reset-password-button,
    .crm-change-password-button {
	font-size: 14px;
	padding: 10px;
}
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.crm-hidden {
	display: none !important;
}

.crm-loading {
	opacity: 0.6;
	pointer-events: none;
}

.crm-text-center {
	text-align: center;
}

.crm-margin-bottom {
	margin-bottom: 20px;
}

/* ==========================================================================
   Content Protection Shortcode Styles
   ========================================================================== */

.crm-protected-content {
	padding: 15px;
	margin: 15px 0;
	border-radius: 5px;
	border: 1px solid;
}

.crm-protected-content.crm-login-required {
	background-color: #fff3cd;
	color: #856404;
	border-color: #ffeaa7;
	text-align: center;
}

.crm-protected-content.crm-access-denied {
	background-color: #f8d7da;
	color: #721c24;
	border-color: #f5c6cb;
	text-align: center;
}

.crm-protected-content.crm-insufficient-access {
	background-color: #e2e3e5;
	color: #383d41;
	border-color: #d6d8db;
	text-align: center;
}

.crm-protected-content.crm-access-granted {
	background: transparent;
	border: none;
	padding: 0;
	margin: 0;
}

/* User Info Shortcode Styles */
.crm-user-info-inline {
	color: #0073aa;
	font-weight: 500;
}

.crm-no-access {
	color: #6c757d;
	font-style: italic;
}
