@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@400;500;600;700&display=swap');


:root {
--modernheader:#378fc3;	
--cardheader: #378fc3  ;
--cardheader-light: #378fc3 ;
--text-primary: #47484a;
--text-secondary: #7f8c8d;
--text-white: #ffffff;
--modernbg: #f5f7fa;
--danger-red: #ff6b6b;
--warning-yellow: #ffc107;
--success-green: #1abc9c;
--accent1: #378fc3 ;
--accent2: #74c0ed ;
--radius: 18px;
--transition: all 0.35s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Kufi Arabic', sans-serif;
    line-height: 1.6;
}



button {
	font-family: 'Noto Kufi Arabic', sans-serif;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}
/* Floating Chat Button */
.floating-chat-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #378fc3 0%, #2c7aa8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(55, 143, 195, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}

.floating-chat-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(55, 143, 195, 0.6);
}

.floating-chat-btn svg {
    width: 30px;
    height: 30px;
    color: white;
}

.floating-chat-btn:active {
    transform: scale(0.95);
}

/* Animation for attention */
@keyframes pulse-chat {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(55, 143, 195, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(55, 143, 195, 0.8);
    }
}

.floating-chat-btn {
    animation: pulse-chat 2s infinite;
}

.floating-chat-btn:hover {
    animation: none;
}
.btn {
    
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
	flex: 1;
	text-decoration: none;
}


.btn-primary {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
	padding: 8px 20px;
	background: linear-gradient(316deg, #378fc3 0%, #74c0ed 100%);
    color: white;
	animation: glowPulse 2s ease-in-out infinite;
}
@keyframes glowPulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,150,255,0.6); }
  70%  { box-shadow: 0 0 0 16px rgba(0,150,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,150,255,0); }
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgb(115 126 151 / 52%);
	transform: translateY(-3px);
}


.btn-cancel {
    background: #f8f9fa;
    color: var(--modernheader);
    border: 2px solid var(--modernheader);
	padding: 8px 20px;
}

.btn-cancel:hover {
    background: var(--modernheader);
    color: white;
    text-decoration: none;
}


.btn-renew {
    background: linear-gradient(45deg, #6c757d, #495057);
    color: #FFF;
	padding: 8px 20px;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.btn-renew:hover {
	background: linear-gradient(45deg, #6c757d, #495057);
	color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

.btn-copy {
    background: #f8f9fa;
    color: #2c3e50;
	padding: 8px 20px;
    border: 2px solid #2c3e50;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.btn-copy:hover {
	background: linear-gradient(45deg, #6c757d, #495057);
	color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}


.btn-rootpnl {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
	padding: 8px 20px;
	background: linear-gradient(135deg, #ffd264 0%, #eeb833 100%);
    color: white;
	
}
.btn-rootpnl:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgb(115 126 151 / 52%);
	transform: translateY(-3px);
}

.btn-success {
border-color: #28a745;
    background: linear-gradient(45deg, #28a745, #18ce42);
    color: #FFF;
    padding: 5px 10px;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
	 font-size: 12px;
}

.btn-danger {
border-color: #dc3545;
    background: linear-gradient(45deg, #dc3545, #ff0018);
    color: #FFF;
    padding: 5px 10px;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
    font-size: 12px;
}


.actions-btn {
    position: relative;
    overflow: hidden;
	background: linear-gradient(316deg, #378fc3 0%, #74c0ed 100%);
    color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 6px;
            cursor: pointer;
			font-weight: 600;
            font-size: 14px;
            transition: all 0.3s ease;
            min-width: 120px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        
 .actions-btn:hover {
	     transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
	transform: translateY(-3px);
    box-shadow: 0 5px 20px #e294bb78;

        }

.room-info-container {
    padding: 20px;
}

.room-info-container h4 {
    color: #378fc3;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid #378fc3;
    padding-bottom: 10px;
}
.backbtnlast {
	text-align: center; 
	margin-top: 30px;
	    margin-bottom: 30px;
}

.form-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
	direction: rtl;
}
		
  .form-header {
    background: linear-gradient(135deg, var(--modernheader), #74c0ed );
    color: white;
    padding: 20px;
    text-align: center;
}
      
		
.form-group {
    margin-bottom: 20px;
margin-top: 20px;
}

.form-group input {
    background: #fff !important;
    background-color: #fff !important;
    -webkit-background-color: #fff !important;
    -moz-background-color: #fff !important;
    -ms-background-color: #fff !important;
    -o-background-color: #fff !important;
	    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
	    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e1e5e9;
    font-family: 'Noto Kufi Arabic', sans-serif;
}

.form-group input[readonly] {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #6c757d;
    cursor: not-allowed;
}
.form-group input:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgb(117 117 117 / 15%);
	    outline: none;
    border-color: var(--modernheader);
}


.form-group label {
	display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 16px;
}


.form-group label i {
    color: var(--modernheader);
    width: 18px;
}

.form-group input::placeholder {
    color: #adb5bd;
    font-size: 14px;
}

/* Override browser autofill styling */
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #fff inset !important;
    -webkit-text-fill-color: #000 !important;
    background-color: #fff !important;
    background: #fff !important;
}

.form-group input:-moz-autofill {
    background-color: #fff !important;
    background: #fff !important;
}



.form-group .input-with-icon input {
       background: #fff !important;
       background-color: #fff !important;
       -webkit-background-color: #fff !important;
       -moz-background-color: #fff !important;
       -ms-background-color: #fff !important;
       -o-background-color: #fff !important;
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e1e5e9;
    font-family: 'Noto Kufi Arabic', sans-serif;
}

.form-group .input-with-icon input:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    border-color: #378fc3;
    background: white;
}

.room-selection-section, .pricing-section h4 {
display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 16px;
}

.current-info {
	padding: 25px;
}
.info-message {
background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: stretch;
    gap: 10px;
    flex-direction: column;
}
.info-message p {
	font-weight: 500;
    font-size: 15px;
}
/* Login Page Styles */
.login-page {
background: #fcfcfc;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
    overflow-x: hidden;
}

/* Floating Elements */
.login-page::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="floating-dots" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.06)"/><circle cx="90" cy="90" r="2.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="70" r="1.2" fill="rgba(255,255,255,0.07)"/></pattern></defs><rect width="100" height="100" fill="url(%23floating-dots)"/></svg>');
    animation: floatBackground 20s linear infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}
/* Floating Elements */
.floating-element {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgb(166 166 166 / 24%);
    border-radius: 30px;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 20%;
    right: 10%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
}

/* Enhanced Login Container */
.login-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 450px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 10;
    animation: containerFloat 0.5s ease-out;
}

@keyframes containerFloat {
  0%   { transform: scale(0.6); filter: blur(8px); opacity: 0; }
  70%  { transform: scale(1.1); filter: blur(2px); }
  100% { transform: scale(1); filter: blur(0); opacity: 1; }
}

.login-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 450px;
}

.login-header {
    background: linear-gradient(316deg, #378fc3 0%, #74c0ed 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.login-header h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.login-header p {
    opacity: 0.9;
    font-size: 14px;
}

.login-form-container {
    padding: 30px;
    position: relative;
    z-index: 5;
}




/* Enhanced Header */
.login-header {
    background: linear-gradient(316deg, #378fc3 0%, #74c0ed 100%);
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.login-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="header-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23header-pattern)"/></svg>');
    opacity: 0.3;
    animation: headerFloat 8s ease-in-out infinite;
}

@keyframes headerFloat {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

.login-header h1 {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.login-header p {
    position: relative;
    z-index: 2;
}


.alert {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
	 direction: rtl;
	 text-align: center;
	 font-weight: 600;
}

.alert-error {
    background: var(--danger-red);
    color: var(--text-white);
    box-shadow: 0 3px 10px var(--shadow-danger);
}

.alert-danger {
    background: var(--danger-red);
    color: var(--text-white);
    box-shadow: 0 3px 10px var(--shadow-danger);
}
.alert-success {
    background: var(--success-green);
    color: var(--text-white);
    box-shadow: 0 5px 15px var(--shadow-primary);
}

.alert-warning {
    background: var(--warning-yellow);
    color: var(--text-primary);
    box-shadow: 0 5px 15px var(--shadow-warning);
}

.alert-info {
background: #1abc9c;
    color: var(--text-white);
    box-shadow: 0 5px 15px var(--shadow-primary);
    direction: rtl;
    margin-top: 10px;
}

.message.success {
    background: var(--success-green);
    color: var(--text-white);
    box-shadow: 0 5px 15px var(--shadow-primary);
	direction: rtl;
}

.message.error {
    background: var(--danger-red);
    color: var(--text-white);
    box-shadow: 0 3px 10px var(--shadow-danger);
	direction: rtl;
}
.message-success {
    background: var(--success-green);
    color: var(--text-white);
    box-shadow: 0 5px 15px var(--shadow-primary);
    padding: 20px;
    margin: 20px 0;
    border-radius: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
	direction: rtl;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);	
}


.trust{
text-align: center;
 margin-top: 15px; 
 padding: 10px; 
 background: #f8f9fa; 
 border-radius: 8px; 
 border-left: 4px solid #378fc3;
}
.trust1{
color: #378fc3; 
font-weight: bold; 
font-size: 14px;
}
.trust2{
color: #6c757d; 
font-size: 12px;
margin-top: 5px;
}
.account-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.info-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.mainaction {
    display: flex;
    flex-direction: column;
}



.info-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.points-header {
   background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.points-header > div:first-child {
    display: flex;
    align-items: center;
    gap: 6px; 
    flex-wrap: wrap; 
	justify-content: center;
}

.points-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}



.points-amount {
    font-size: 3rem;
    font-weight: bold;
    color: #2d89ef; 
    margin-left: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.points-amount.negative {
    color: #dc3545;
}

.points-amount.positive {
    color: #28a745;
}

.points-amount.reward-positive {
    color: #ffc107;
    text-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

.points-amount.conversion-positive {
    color: #17a2b8;
    text-shadow: 0 2px 4px rgba(23, 162, 184, 0.3);
}



.reward-level-display {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.level-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.level-badge i {
    font-size: 18px;
}

.reward-stats {
    display: flex;
    gap: 30px;
}

.reward-stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

.level-progress {
    margin: 20px 0;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.reward-actions {
    margin-top: 20px;
    text-align: center;
}

.convert-reward-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.convert-reward-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

/* Reward Preview Styles */
.reward-preview-section {
    margin: 20px 0;
    padding: 0 20px;
}

.reward-preview-card {
    background: linear-gradient(135deg, #ffc107 0%, #ffed4e 100%);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    border: 2px solid rgba(255, 193, 7, 0.5);
}

.reward-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.reward-content {
    flex: 1;
}

.reward-content h4 {
    margin: 0 0 8px 0;
    color: #856404;
    font-size: 18px;
    font-weight: bold;
}
.reward-content h3 {
    margin: 0 0 8px 0;
    color: #856404;
    font-size: 18px;
    font-weight: bold;
}
.reward-content p {
    margin: 0;
    color: #856404;
    font-size: 16px;
    line-height: 1.4;
}

.reward-level-info {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.level-badge-small {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.reward-explanation {
    font-size: 12px;
    color: #856404;
    opacity: 0.8;
}

.points-label {
        font-size: 16px;
    color: #666;
    opacity: 0.9;
}
.toggle-form {
    text-align: center;
    margin-top: 20px;
	direction: rtl;
}

.toggle-form a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
}

.toggle-form a:hover {
    text-decoration: underline;
}

.forgot-password {
    text-align: center;
    margin-top: 15px;
}

.forgot-password a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.back-link {
    text-align: center;
    margin-top: 20px;
}

.back-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.back-link a:hover {
    text-decoration: underline;
}

.password-strength {
    margin-top: 5px;
    font-size: 12px;
}

.strength-weak {
    color: #dc3545;
}

.strength-medium {
    color: #ffc107;
}

.strength-strong {
    color: #28a745;
}

/* Header Styles */
.header {
    background: linear-gradient(274deg, #3bb1ca 0%, #2b9ab2 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    font-size: 28px;
    margin-bottom: 5px;
}

.header p {
    opacity: 0.9;
    font-size: 14px;
}

.user-info {
    text-align: right;
}

.user-info h3 {
    margin-bottom: 5px;
}

.user-info p {
    font-size: 14px;
    opacity: 0.9;
}

.change-password-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    margin-top: 10px;
    margin-right: 10px;
    display: inline-block;
    transition: all 0.3s ease;
}

.change-password-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.logout-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    margin-top: 10px;
    display: inline-block;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.back-btn {
    background: linear-gradient(45deg, #6c757d, #495057);
    color: white;
    padding: 12px 25px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
    cursor: pointer;
    border: none;
    font-size: 14px;
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
    text-decoration: none;
    color: white;
}

.back-icon {
    font-size: 1.2rem;
}

/* Compact Dashboard Header Styles */
.dashboard-header {
    background: linear-gradient(316deg, #378fc3 0%, #74c0ed 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
	border-radius: 20px;
}

.dashboard-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.4;
}

.dashboard-header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
	direction: rtl;
}

.dashboard-title {
    flex: 1;
}

.dashboard-title h1 {
    font-size: 28px;
    margin-bottom: 5px;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.dashboard-title p {
    opacity: 0.9;
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    color: #f0f8ff;
}

.dashboard-user-info {
    text-align: right;
    background: rgba(255, 255, 255, 0.12);
    padding: 15px 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.dashboard-user-info h3 {
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.dashboard-user-info p {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 3px;
    color: #f0f8ff;
}

/* Alternative Minimal Header Style */
.dashboard-header-minimal {
    background: white;
    border-bottom: 1px solid #e1e5e9;
    padding: 15px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.dashboard-header-minimal .dashboard-header-content {
    padding: 0 20px;
}

.dashboard-header-minimal .dashboard-title h1 {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 3px;
    text-shadow: none;
}

.dashboard-header-minimal .dashboard-title p {
    font-size: 13px;
    color: var(--text-secondary);
    opacity: 1;
}

.dashboard-header-minimal .dashboard-user-info {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    backdrop-filter: none;
    box-shadow: none;
}

.dashboard-header-minimal .dashboard-user-info h3 {
    color: var(--text-primary);
    font-size: 16px;
}

.dashboard-header-minimal .dashboard-user-info p {
    color: var(--text-secondary);
    font-size: 12px;
}

/* Card-style Header */
.dashboard-header-card {
    background: white;
    margin: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(49, 119, 187, 0.1);
    padding: 20px 0;
}

.dashboard-header-card .dashboard-header-content {
    padding: 0 25px;
}

.dashboard-header-card .dashboard-title h1 {
    font-size: 26px;
    color: var(--modernheader);
    margin-bottom: 5px;
    text-shadow: none;
}

.dashboard-header-card .dashboard-title p {
    font-size: 14px;
    color: var(--text-secondary);
    opacity: 1;
}

.dashboard-header-card .dashboard-user-info {
    background: linear-gradient(316deg, #378fc3 0%, #74c0ed 100%);
    color: white;
    border: none;
    backdrop-filter: none;
    box-shadow: 0 4px 15px rgba(49, 119, 187, 0.2);
}

.dashboard-header-card .dashboard-user-info h3 {
    color: white;
    font-size: 17px;
}

.dashboard-header-card .dashboard-user-info p {
    color: #f0f8ff;
    font-size: 13px;
}

/* Enhanced Statistics Grid */
.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
    padding: 0 20px;
	direction: rtl;
}

.dashboard-stat-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(49, 119, 187, 0.1);
    position: relative;
    overflow: hidden;
	animation: popSmoke  1s ease-out;
}
@keyframes popSmoke  {
  0% {
    transform: translateY(-20px) scaleY(0.6);
    opacity: 0;
  }
  40% {
    transform: translateY(0) scaleY(1.15);
    opacity: 1;
  }
  70% {
    transform: scaleY(0.95);
  }
  100% {
    transform: scaleY(1);
  }
}
.dashboard-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(316deg, #378fc3 0%, #74c0ed 100%);
}

.dashboard-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}
.dashboard-stat-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  border-radius: 0 0 var(--radius) var(--radius);
  transition: width 0.4s ease;
}

.dashboard-stat-card:hover::after {
  width: 100%;
}
.dashboard-stat-card h3 {
    color: var(--modernheader);
    font-size: 45px;
    margin-bottom: 15px;
    font-weight: 700;
}

.dashboard-stat-card p {
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

.dashboard-stat-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.dashboard-stat-card-link:hover .dashboard-stat-card {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Enhanced Subscription Cards */
.dashboard-subscription-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(49, 119, 187, 0.1);
    position: relative;
}

.dashboard-subscription-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}



.dashboard-subscription-type {
    background: rgba(255, 255, 255, 0.25);
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.dashboard-card-content {
    padding: 25px;
}

.dashboard-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f5f7fa;
}

.dashboard-info-row:last-child {
    border-bottom: none;
}

.dashboard-info-row .label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 14px;
}

.dashboard-info-row .value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 15px;
}

/* Dashboard Container */
.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 30px;
}

.dashboard-section-title {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-primary);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.dashboard-section-title::after {
content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20%;
    height: 4px;
    background: linear-gradient(90deg, #f5f7fa, #378fc3);
    border-radius: 2px;
}

.minidashboard {
	font-size: 16px;
}


/* Enhanced No Data State */
.dashboard-no-data {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-secondary);
    background: white;
    border-radius: 20px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(49, 119, 187, 0.1);
    grid-column: 1 / -1;
}

.dashboard-no-data-icon {
    font-size: 64px;
    margin-bottom: 25px;
    opacity: 0.6;
}

.dashboard-no-data h3 {
    margin: 0 0 15px 0;
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 600;
}

.dashboard-no-data p {
    margin: 0;
    font-size: 16px;
    opacity: 0.8;
}

/* Analytics Dashboard Styles */
.analytics-section {
    margin: 40px 0;
	direction: rtl;
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.analytics-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
    border: 1px solid rgba(49, 119, 187, 0.1);
    position: relative;
    overflow: hidden;
}

.analytics-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(316deg, #378fc3 0%, #74c0ed 100%);
}

.analytics-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.analytics-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.analytics-card-icon {
    font-size: 24px;
    opacity: 0.7;
}

.analytics-chart-container {
    position: relative;
    height: 300px;
    margin: 20px 0;
}

.analytics-chart-container canvas {
    max-height: 100%;
}

/* Metrics Cards */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.metric-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(49, 119, 187, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(316deg, #378fc3 0%, #74c0ed 100%);
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.metric-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--modernheader);
    margin-bottom: 8px;
    display: block;
}

.metric-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0;
}

.metric-change {
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-block;
}

.metric-change.positive {
    background: #d4edda;
    color: #155724;
}

.metric-change.negative {
    background: #f8d7da;
    color: #721c24;
}

.metric-change.neutral {
    background: #e2e3e5;
    color: #383d41;
}

/* Progress Bars */
.progress-section {
    margin: 20px 0;
}

.progress-item {
    margin-bottom: 20px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}



@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Chart Legends */
.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

/* Analytics Tabs */
.analytics-tabs {
    display: flex;
    background: white;
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    border: 1px solid rgba(49, 119, 187, 0.1);
	flex-direction: row-reverse;
}

.analytics-tab {
    flex: 1;
    padding: 12px 20px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
	font-size: 15px;
    color: var(--text-secondary);
    border: none;
    background: transparent;
	font-family: 'Noto Kufi Arabic', sans-serif;
}

.analytics-tab.active {
    background: linear-gradient(316deg, #378fc3 0%, #74c0ed 100%);
    color: white;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.analytics-tab:hover:not(.active) {
    background: rgb(191 191 191 / 10%);
    color: var(--modernheader);
}

.analytics-tab-content {
    display: none;
}

.analytics-tab-content.active {
    display: block;
}

/* Loading States */
.chart-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: var(--text-secondary);
    font-size: 16px;
}

.chart-loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--modernheader);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Container Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.stat-card-link:hover .stat-card {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card-static {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stat-card h3,
.stat-card-static h3 {
    color: #667eea;
    font-size: 24px;
    margin-bottom: 10px;
}

.stat-card p,
.stat-card-static p {
    color: #666;
    font-size: 14px;
}

/* Section Styles */
.section-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-primary);
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.section-header {
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 24px;
    color: var(--text-primary);
    margin: 0;
}

.clear-filter {
    color: #667eea;
    text-decoration: none;
    font-size: 16px;
    font-weight: normal;
    margin-left: 10px;
}

.clear-filter:hover {
    text-decoration: underline;
}

/* Subscription Grid */
.subscriptions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.subscriptions-section {
	direction: rtl;
}

.subscription-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.subscription-card-link:hover .subscription-card {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.subscription-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}



	
.card-header {
    color: white;
    padding: 25px;
    position: relative;
	direction: ltr;
	    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mainheader {
    background: linear-gradient(316deg, #378fc3 0%, #74c0ed 100%);
}
.regroyal {
    background: #e9bb5a;
}
.regnormal {
    background: linear-gradient(321deg, #74b9ff 0%, #0984e3 100%);
}
.room {
    background: linear-gradient(316deg, #378fc3 0%, #74c0ed 100%);
}
.prev {
    background: linear-gradient(135deg, #00cec9 0%, #81ecec 100%);
}
.prevroot {
    background: linear-gradient(135deg, #ffd264 0%, #eeb833 100%);
}
.root {
    background: #F79F1F;
}
.rootname {
    background: #e58e26;
}

.card-header h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
}

.subscription-type {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.subscription-type img {
	margin-top: 5px;
}
.card-content {
    padding: 20px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .label {
    font-weight: 600;
    color: #666;
    font-size: 14px;
}

.info-row .value {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 14px;
}

/* Status Badges */
.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-expired {
    background: #f8d7da;
    color: #721c24;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.status-unknown {
    background: #e2e3e5;
    color: #383d41;
}

/* No Data State */
.no-data {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    background: white;

    grid-column: 1 / -1;
}

.no-data-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.no-data h4 {
    color: #ca0000;
    margin-bottom: 18px;
    font-size: 17px;
    text-align: center;
}
.no-data h3 {
    margin: 0 0 10px 0;
    color: var(--text-primary);
    font-size: 20px;
}

.no-data p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

.marketing-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
	margin-bottom: 42px;
}
/* Error Messages */
.error-message {
background: #ff6b6b;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-radius: 12px;
    margin-top: 15px;
	margin-bottom: 20px;
    justify-content: center;
}


.error-message i {
    color: #dc3545;
    font-size: 1.2rem;
}




.root-container  {
max-width: 800px;
    margin: 0 auto;
    padding: 10px;
    min-height: 100vh;
    direction: rtl;
    text-align: right;
}


.mroot-card {
background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.root-header {
  text-align: center;
  padding: 2rem 1.5rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-left: auto;
  margin-right: auto;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.root-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin: 0;
  color: #2d3748;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.root-header p {
  font-size: 1.125rem;
  color: #718096;
  margin-top: 0.5rem;
  font-weight: 400;
  line-height: 1.5;
}
.root-info-card {
    margin-bottom: 25px;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    overflow: hidden;
    margin-top: 20px;
}



.info-content {
    padding: 20px;
}

.info-row:last-child {
    border-bottom: none;
}




.ltrcen {
text-align: center;
    direction: rtl;	
}






/* Page-Specific Headers */
.room-header,
.names-header,
.royal-header,
.registered-header,
.prev-header,
.main-root-header {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
	    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
	border: 3px solid #e58e26;
    border-bottom: 2px solid #f8f9fa;
	    

}

.room-header {
    border: 3px solid #667eea;
}

.names-header {
    border: 3px solid #667eea;
}

.royal-header {
    border: 3px solid #e9bb5a;

}
.royal-header img{
margin-right: 10px;
}

.prev-header {
    border: 3px solid #00cec9;
}

.registered-header {
    border: 3px solid #0984e3;
}

.registered-header img {
margin-right: 10px;
}

.main-root-header {
    border: 3px solid #f39c12;
}

.room-header h2,
.names-header h2,
.prev-header h2,
.royal-header h2,
.registered-header h2,
.root-header h2,
.main-root-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.royal-header h2 {
    color: #e9bb5a;
		display: flex;
    align-items: center;
    justify-content: center;
}
.room-header h2 {
    color: #667eea;
}
.registered-header h2 {
    color: #0984e3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.root-header h2 {
    color: #e58e26;
	    font-size: 2rem;
    color: #2c3e50;
    margin: 0 0 15px 0;
    font-weight: 700;
}
.prev-header h2 {
    color: #00cec9;
}
.main-root-header h2 {
    color: #f39c12;
}

.room-header p,
.names-header p,
.royal-header p,
.registered-header p,
.root-header p,
.main-root-header p {
    color: #666;
    font-size: 16px;
}

/* Page-Specific Card Styles */
.royal-card {
    border: 2px solid #d4af37;
}

.royal-card:hover {
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.royal-card .card-header {
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
}

.registered-card {
    border: 2px solid #2c5aa0;
}

.registered-card:hover {
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.3);
}

.registered-card .card-header {
    background: linear-gradient(135deg, #2c5aa0 0%, #4a90e2 100%);
}

.root-card {
    border: 2px solid #8b4513;
}

.root-card:hover {
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.3);
}

.root-card .card-header {
    background: linear-gradient(135deg, #8b4513 0%, #cd853f 100%);
}

.main-root-card {
    border: 2px solid #2d5016;
}

.main-root-card:hover {
    box-shadow: 0 8px 25px rgba(45, 80, 22, 0.3);
}

.main-root-card .card-header {
    background: linear-gradient(135deg, #2d5016 0%, #4a7c59 100%);
}
.price-display {
    background: linear-gradient(135deg, #e58e26, #f39c12);
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgb(115 126 151 / 52%);
	width: 300px;
    margin: 0 auto;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
	 text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.price-amount a {
	font-size: 24px;
 color: #2c3e50;
 text-shadow: 0 0 black;
}
.price-amount span {
    font-size: 3rem;
    font-weight: 700;
    display: block;
   
}


/* Utility Classes */
.hidden {
    display: none;
}

.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.p-20 {
    padding: 20px;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}
/* Profile Page Specific Styles */
.profile-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
	direction: rtl;
}

.root-content-grid {
display: flex;
    gap: 30px;
    margin: 40px 0;
    direction: rtl;
    flex-direction: column;
}

.profile-section {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(49, 119, 187, 0.1);
    overflow: hidden;
}

.profile-section-header {
    background: linear-gradient(316deg, #378fc3 0%, #74c0ed 100%);
    color: white;
    padding: 25px;
    position: relative;
}

.profile-section-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-section-title i {
    font-size: 18px;
    opacity: 0.9;
}

.points-card {
    padding: 30px;
    text-align: center;


}

.points-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.points-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(316deg, #378fc3 0%, #74c0ed 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    box-shadow: 0 4px 15px #eccddc;
}

.points-info h3 {
    font-size: 48px;
    font-weight: 700;
    color: var(--modernheader);
    margin: 0;
    line-height: 1;
}

.points-info p {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 5px 0 0 0;
    font-weight: 500;
}

.add-points-btn {
    background: linear-gradient(316deg, #378fc3 0%, #74c0ed 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px #eccddc;
}

.add-points-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px #eccddc;
    color: white;
    text-decoration: none;
}

/* Account Info Card Styles */
.account-info-card {
    padding: 30px;
}

.info-grid {
    display: grid;
    gap: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f5f7fa;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 14px;
}

.info-label i {
    color: var(--modernheader);
    width: 16px;
}

.info-value {
    color: var(--text-primary);
    font-size: 15px;
	font-family: 'Courier New', monospace;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.8);
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
	display: block;
}

.m-profile-value {
color: var(--text-primary);
    text-align: right;
    flex: 1;
    margin-left: 15px;
    margin-right: 10px;
}

.m-profile-label {
font-weight: bold;
    color: var(--modernheader);
    display: flex;
    align-items: center;
    gap: 8px;
}


/* Account Actions Card Styles */
.account-actions-card {
    padding: 30px;
}

.actions-grid {
    display: grid;
    gap: 15px;
}
        .btn-submit {
            background-color: #378fc3;
            color: white;
            border: none;
            padding: 10px 20px;
            cursor: pointer;
            font-size: 14px;
            text-decoration: none;
            display: inline-block;
			border-radius: 6px;
        }
        
        .btn-submit:hover {
            background-color: #b85a7a;
            text-decoration: none;
            color: white;
        }

        		
		        
        .add-root-btn {
            background-color: #378fc3;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
            text-decoration: none;
            display: inline-block;
        }
        
        .add-root-btn:hover {
            background-color: #b85a7a;
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0,0,0,0.3);
            text-decoration: none;
            color: white;
        }
		
.action-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.action-btn:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: inherit;
    text-decoration: none;
}

.action-btn.logout-action:hover {
    background: #f8d7da;
    border-color: #f5c6cb;
}

.action-icon {
    width: 50px;
    height: 50px;
    background: var(--modernheader);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.logout-action .action-icon {
    background: #dc3545;
}

.action-content h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.action-content p {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
}

/* Subscription Summary Card Styles */
.subscription-summary-card {
    padding: 30px;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.summary-stat {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--modernheader);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.summary-actions {
    text-align: center;
}


/* Input with Icon Styles */
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    right: 15px;
    color: #378fc3;
    font-size: 16px;
    z-index: 2;
    pointer-events: none;
    transition: color 0.3s ease;
}

.input-with-icon input {
    padding-right: 45px !important;
    width: 100%;
}

.input-with-icon input:focus + .input-icon,
.input-with-icon:focus-within .input-icon {
    color: #378fc3;
    transform: scale(1.1);
}


/* Icon hover effects */
.input-icon:hover {
    color: #667eea;
    transform: scale(1.1);
}




/* Change Password Page Specific Styles */
.change-password-container {
    max-width: 1200px;
    margin: 40px auto;
}

.change-password-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(49, 119, 187, 0.1);
    overflow: hidden;
	    max-width: 800px;
    margin: 0 auto;
	direction: rtl;
}

.change-password-header {
    background: linear-gradient(316deg, #378fc3 0%, #74c0ed 100%);
    color: white;
    padding: 40px;
    text-align: center;
    position: relative;
}

.security-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.change-password-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.change-password-header p {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
}

.change-password-form {
    padding: 40px;
}





.form-actions {
	text-align: center;
    display: flex;
    gap: 15px;
    margin-top: 30px;
	margin-bottom: 30px;
    flex-wrap: wrap;
}


.security-tips {
    background: #f8f9fa;
    padding: 30px;
    border-top: 1px solid #e9ecef;
}

.security-tips h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px 0;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
}

.security-tips h3 i {
    color: #ffc107;
}

.security-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.security-tips li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.security-tips li i {
    color: #28a745;
    width: 16px;
}




/* Responsive Design */
@media (max-width: 768px) {
	.header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .user-info {
        text-align: center;
        margin-top: 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .subscriptions-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .subscription-card {
        margin: 0 10px;
    }
    
    .card-header {
        padding: 15px;
    }
    
    .card-header h3 {
        font-size: 16px;
    }
    
    .card-content {
        padding: 15px;
    }
    
    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .info-row .label {
        font-size: 12px;
    }
    
    .info-row .value {
        font-size: 14px;
        font-weight: 600;
    }
    
    .login-page {
        padding: 10px;
    }
    
    .login-container {
        max-width: 100%;
    }
    
    .login-form-container {
        padding: 20px;
    }
        .root-header h2 {
        font-size: 19px;
    }
    /* Dashboard Responsive */
    .dashboard-header-content {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
    }
    
    .dashboard-title {
        margin-bottom: 25px;
    }
    
    .dashboard-title h1 {
        font-size: 26px;
    }
    
    .dashboard-title p {
        font-size: 16px;
    }
    
    .dashboard-user-info {
        text-align: center;
        padding: 20px 25px;
		width: 95%;
    }
    
    .dashboard-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .dashboard-stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    .dashboard-stat-card {
        padding: 25px;
    }
    
    .dashboard-stat-card h3 {
        font-size: 32px;
    }
    
    .dashboard-container {
        padding: 30px 20px;
    }
    
    .dashboard-section-title {
        font-size: 24px;
        text-align: center;
    }
	
	.dashboard-section-title::after {
	width: 75%;
	}
	
    .minidashboard {
	font-size: 16px;
	text-align: right;
}
    .dashboard-subscription-card {
        margin: 0 5px;
    }
    

    
    .dashboard-card-content {
        padding: 20px;
    }
    
    .dashboard-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .dashboard-info-row .label {
        font-size: 13px;
    }
    
    .dashboard-info-row .value {
        font-size: 15px;
        font-weight: 600;
    }
    
    .dashboard-no-data {
        padding: 60px 20px;
    }
    
    .dashboard-no-data-icon {
        font-size: 48px;
    }
    
    .dashboard-no-data h3 {
        font-size: 20px;
    }
    
    /* Analytics Responsive */
    .analytics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .analytics-card {
        padding: 20px;
    }
    
    .analytics-chart-container {
        height: 250px;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .metric-card {
        padding: 20px;
    }
    
    .metric-value {
        font-size: 28px;
    }
    
    .analytics-tabs {
        flex-direction: column;
        gap: 5px;
    }
    
    .analytics-tab {
        padding: 15px 20px;
        font-size: 16px;
    }
	   .profile-content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }
     .root-content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }
	
    .points-display {
        flex-direction: column;
        gap: 15px;
    }
    
    .points-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .points-info h3 {
        font-size: 36px;
    }
    
    .summary-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .action-btn {
        padding: 15px;
    }
    
    .action-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
	    .input-icon {
        font-size: 14px;
        right: 12px;
    }
    
    .input-with-icon input {
        padding-right: 40px !important;
    }
	
	.analytics-tabs {
		flex-direction: column !important;
	}
	.notification-alert {
		width: 98% !important;
	}
	
    .change-password-container {
        margin: 20px;
    }
    
    .change-password-header {
        padding: 30px 20px;
    }
    
    .security-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .change-password-header h2 {
        font-size: 24px;
    }
    
    .change-password-form {
        padding: 30px 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .change-password-btn {
        flex: none;
        width: 100%;
    }
    
    .security-tips {
        padding: 20px;
    }
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-content {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 400px;
}

.loading-spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #e58e26;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.loading-subtext {
    font-size: 1rem;
    color: #7f8c8d;
    line-height: 1.6;
}

.loading-subtext small {
    font-size: 0.9rem;
    color: #95a5a6;
}

       .marketing-section {
            margin: 40px 0;
            padding: 0 20px;
        }
        
        .marketing-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
            margin-top: 20px;
			direction: rtl;
        }
        
        .marketing-card {
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
            border-radius: 16px;
            padding: 30px;
            text-align: center;
            transition: all 0.3s ease;
            border: 2px solid transparent;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
			border-color: #378fc3;
        }
        
        .marketing-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            border-color: #fff;
        }
        
        .promo-card {
            background: linear-gradient(316deg, #378fc3 0%, #74c0ed 100%);
            color: white;
            grid-column: span 1;
        }
        
        .promo-card h3,
        .promo-card p {
            color: white;
        }
        
        .marketing-icon {
            font-size: 3.5rem;
            margin-bottom: 15px;
            animation: bounce 2s infinite;
        }
        
        @keyframes bounce {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-10px);
            }
        }
        
        .marketing-card h3 {
            font-size: 1.4rem;
            margin: 15px 0 10px;
            color: #2c3e50;
            font-weight: 700;
        }
        
        .marketing-card p {
            font-size: 0.95rem;
            color: #6c757d;
            margin-bottom: 20px;
            line-height: 1.6;
        }
          .promo-card2 h3 {
            color: #fff;
        }		
          .promo-card2 p {
            color: #fff;
        }      
        .marketing-features {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-top: 20px;
        }
        
        .feature-item {
            background: rgba(255, 255, 255, 0.2);
            padding: 10px 15px;
            border-radius: 8px;
            font-size: 0.9rem;
			direction: rtl;
            backdrop-filter: blur(10px);
        }
        
        .marketing-cta {
            margin-top: 20px;
        }
        
        .cta-btn {
            display: inline-block;
            background: linear-gradient(316deg, #378fc3 0%, #74c0ed 100%);
            color: white;
            padding: 12px 30px;
            border-radius: 25px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
        }
        
        .cta-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 15px rgba(108, 117, 125, 0.3);
        }
        
        .no-data-cta {
            margin-top: 25px;
        }
        
        .btn-get-started {
            display: inline-block;
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            padding: 15px 40px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 700;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
        }
        
        .btn-get-started:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 30px rgba(102, 126, 234, 0.6);
        }
        
        @media (max-width: 768px) {
            .marketing-grid {
                grid-template-columns: 1fr;
            }
            
            .promo-card {
                grid-column: span 1;
            }
        }
        
        .no-data-message {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 40px 20px;
            text-align: center;
            color: #6c757d;
            height: 300px;
        }
        
        .no-data-message .no-data-icon {
            font-size: 48px;
            margin-bottom: 20px;
            opacity: 0.6;
        }
        
        .no-data-message h4 {
            color: #495057;
            margin-bottom: 10px;
            font-size: 18px;
        }
        
        .no-data-message p {
            color: #6c757d;
            font-size: 14px;
            line-height: 1.5;
            max-width: 300px;
        }