html,
body {
    height: 100%;
}

html {
    box-sizing: border-box;
    font-size: 13px;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    margin: 0;
    color: #000;
    background: #fff;
    font: 13px/1.25 "Lato" , Arial, Helvetica, sans-serif; 
    min-width: 320px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: none;
}

/* Page title headings - h1 max 20px on all relevant pages */
h1,
.account-detail h1,
.portable-page-header .page-title,
.portable-page-header h1,
.templates-page-header .page-title,
.scheduled-page-header .page-title,
.groups-page-header .page-title,
.contacts-page-header .page-title,
.dynamic-sms-page .header-title,
.dashboard-title,
.add-contact-header .page-title,
.add-contact-bulk-page .add-bulk-header .page-title,
.log-message-header .page-title,
.monthwise-log-header .page-title,
.monthly-sms-rpt-header .page-title,
.call-campaign-header .page-title,
.add-template-header .page-title,
.campaigns-logs-header .page-title,
.graphical-repr-header .page-title,
.url-repr-header .page-title,
.header-content h1,
.api-page-header h1,
.header-text-content h1,
#invoice h1 {
    font-size: 20px !important;
}

img {
    border-style: none;
    max-width: 100%;
    height: auto;
}
a{
	color:#0000ee ;
	text-decoration:underline;
}
a ,
button{
    outline: none;
    transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	-webkit-transition: all 0.5s ease-in-out;
}

a:hover,
a:focus,
a.active {
	color:#0000ee;
	outline: none;
	text-decoration: none;
}

input,
textarea,
select {
	outline: none;
	font: 100% "Lato", Arial, sans-serif;
	color: #000;
	vertical-align: middle;
	-web-kit-apperance: none;
}
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
}

form,
fieldset {
	outline: none;
	margin: 0;
	padding: 0;
	border-style: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
	border:0;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}
input[type="tel"]::-webkit-input-placeholder,
input[type="text"]::-webkit-input-placeholder,
input[type="email"]::-webkit-input-placeholder {
	color:#999 !important;
}
 
input[type="text"]::-moz-placeholder,
input[type="tel"]::-moz-placeholder,
input[type="email"]::-moz-placeholder { /* Firefox 18- */
	color:#999 !important;  
}
 
input[type="tel"]::-moz-placeholder,
input[type="text"]::-moz-placeholder,
input[type="email"]::-moz-placeholder {  /* Firefox 19+ */
	color: #999 !important;  
}
 
input[type="tel"]::-ms-input-placeholder,
input[type="text"]::-ms-input-placeholder,
input[type="email"]::-ms-input-placeholder {  
	color:#999 !important; 
}

#wrapper{
	width: 100%;
	overflow: hidden;
	position: relative;
}

.login-box{
	width: 100%;
	height: 572px;
	padding: 64px 0 0;
	background: url(../images/img1.jpg) no-repeat;
	background-size: 100% 100%;
}

.login-box .logo{
	display: block;
	margin: 0 auto 70px;
	width: 293px;
	height: auto;
}
.login-box .login-form{
	width: 348px;
	display: block;
	margin: 0 auto;
	position: relative;
	padding: 40px 20px;
	border-radius: 10px;
	border: 1px solid #898989;
	background: rgba(255,255,255,.3);

}
.login-box .login-form .form-row{
	overflow: hidden;
	margin: 0 0 24px;
}
.login-box .form-row label{
	display: block;
	color: #000;
	font-size: 16px;
	font-weight: normal;
	margin: 0 0 12px;
	text-transform: capitalize;
}
.login-box .form-row input[type="text"],
.login-box .form-row input[type="password"]{
	width: 100%;
	height: 36px;
	background: #fff;
	padding: 5px 10px;
	border-radius: 8px;
	border: 1px solid #898989;
}
.login-box .form-row a{
	display: inline-block;
	color: #000;
	font-size: 16px;
	text-align: center;
	text-decoration: underline;
	text-transform: capitalize;
}
.login-box .form-row a:hover{
	text-decoration: none;
}
.login-box .form-row button{
	border: 0;
	color: #000;
	font-size: 16px;
	font-weight: bold;
	padding: 14px 60px;
	background: #1bbde8;
	text-transform: capitalize;
	display: inline-block;
}
.login-box .form-row button:hover{
	color: #1bbde8;
	background: #000;
}

/* ============================================
   Modern Login Page Redesign
   ============================================ */

.login-page-body {
  font-family: 'Inter', 'Lato', sans-serif;
  background: #f0f2f5;
  min-height: 100vh;
  margin: 0;
}

.login-page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

.login-bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 115%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.login-page-wrapper::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
  pointer-events: none;
}

.login-page-header {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 36px 24px 48px;
  text-align: center;
  overflow: hidden;
}

.login-header-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.login-header-content {
  position: relative;
  z-index: 1;
}

.login-logo {
  display: inline-block;
  margin-bottom: 20px;
}

.login-logo img {
  max-width: 180px;
  height: auto;
}

.login-header-title {
  font-size: 28px;
  font-weight: 700;
  color: white;
  margin: 0 0 8px;
  letter-spacing: -0.5px;
}

.login-header-subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  margin: 0;
  font-weight: 400;
}

.login-content-area {
  flex: 1;
  padding: 0 20px;
  margin-top: -28px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  padding: 36px 32px;
  position: relative;
  z-index: 2;
}

.login-page-wrapper .login-footer,
.login-page-wrapper .login-bottom-footer {
  position: relative;
  z-index: 2;
}

.login-card-header {
  text-align: center;
  margin-bottom: 28px;
}

.login-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
}

.login-card-title {
  font-size: 22px;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0 0 8px;
}

.login-card-desc {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

.login-form-modern .form-group-modern {
  margin-bottom: 20px;
}

.login-form-modern .form-group-modern label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.login-form-modern .form-input-modern {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.2s ease;
}

.login-form-modern .form-input-modern:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.login-form-modern .form-input-modern::placeholder {
  color: #9ca3af;
}

.btn-login-modern {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(102, 126, 234, 0.4);
}

.btn-login-modern:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.45);
  color: white;
}

.login-forgot-link {
  display: block;
  text-align: center;
  font-size: 14px;
  color: #667eea;
  text-decoration: none;
  margin-bottom: 20px;
}

.login-forgot-link:hover {
  color: #764ba2;
  text-decoration: underline;
}

.login-link-back {
  display: block;
  text-align: center;
  font-size: 14px;
  color: #6b7280;
  text-decoration: none;
  margin-top: 20px;
}

.login-link-back:hover {
  color: #667eea;
  text-decoration: none;
}

.login-alert {
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 14px;
  text-transform: none;
}

.login-alert.alert-success {
  background: #d1fae5;
  border-color: #10b981;
  color: #065f46;
}

.login-footer {
  margin-top: auto;
  padding: 40px 0 24px;
  background: #2d3748;
}

.login-footer .column {
  border-color: rgba(255,255,255,0.15);
}

.login-footer .column a {
  font-size: 15px;
}

.login-footer .column a:hover {
  color: #667eea;
}

.login-bottom-footer {
  background: #1a202c;
  border-top-color: rgba(255,255,255,0.08);
}

@media (max-width: 576px) {
  .login-page-header { padding: 28px 16px 40px; }
  .login-logo img { max-width: 140px; }
  .login-header-title { font-size: 22px; }
  .login-header-subtitle { font-size: 14px; }
  .login-content-area { margin-top: -24px; padding: 0 16px; }
  .login-card { padding: 28px 20px; }
  .login-card-title { font-size: 20px; }
  .login-card-icon { width: 48px; height: 48px; font-size: 20px; }
  .login-footer .column { width: 100%; display: block; margin-bottom: 16px; }
  .login-footer .column:last-child { margin-bottom: 0; }
}

#footer{
	
	overflow: hidden;
	background: #323232;
	padding: 80px 0 50px;
	text-align: center;	
}
#footer .column{
	display: inline-block;
	width: 20%;
	border-right: 1px solid #808080;
}
#footer .column:last-child{
	border: 0;
}
#footer .column a{
	display: inline-block;
	color: #fff;
	font-size: 20px;
}
#footer .column a:hover{
	color: #1bbde8;
	text-decoration: none;
}
#footer .column a img{
	display: inline-block;
	margin: -3px 10px 0 0;
}
#footer .social-list{
	padding: 0;
	margin: 0;
	list-style: none;
}
#footer .social-list li{
	display: inline-block;
	margin: 0 8px;
}
#footer .social-list li a img{
	margin: 0;
}


#login-footer{
	overflow: hidden;
	background: #323232;
	padding: 80px 0 50px;
	text-align: center;
}
#login-footer .column{
	display: inline-block;
	width: 20%;
	border-right: 1px solid #808080;
}
#login-footer .column:last-child{
	border: 0;
}
#login-footer .column a{
	display: inline-block;
	color: #fff;
	font-size: 20px;
}
#login-footer .column a:hover{
	color: #1bbde8;
	text-decoration: none;
}
#login-footer .column a img{
	display: inline-block;
	margin: -3px 10px 0 0;
}
#login-footer .social-list{
	padding: 0;
	margin: 0;
	list-style: none;
}
#login-footer .social-list li{
	display: inline-block;
	margin: 0 8px;
}
#login-footer .social-list li a img{
	margin: 0;
}
.bottom-footer{
	overflow: hidden;
	padding: 12px 0;
	font-size: 14px;
	color: #7d7d7d;
	text-align: center;
	background: #323232;
	border-top: 1px solid #646464;
}
.bottom-footer p{
	margin: 0;
}

.main-holder{
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	overflow: hidden;
}
.main-holder.menu-collapsed .left-text-holder{
	flex: 0 0 0;
	width: 0;
	min-width: 0;
	overflow: visible;
}
.main-holder.menu-collapsed .right-content{
	flex: 1 1 100%;
	width: 100% !important;
	max-width: 100%;
}

/* Payment / modern sidebar: fixed menu — main area must shift with collapse */
.main-holder.has-modern-sidebar,
.main-holder:has(.modern-sidebar){
	display: block;
}
.main-holder.has-modern-sidebar .left-text-holder,
.main-holder:has(.modern-sidebar) .left-text-holder{
	flex: 0 0 0 !important;
	width: 0 !important;
	min-width: 0 !important;
	max-width: 0 !important;
	overflow: visible;
	float: none;
}
.main-holder.has-modern-sidebar #flip,
.main-holder:has(.modern-sidebar) #flip{
	display: none !important;
}
.main-holder.has-modern-sidebar .right-content,
.main-holder:has(.modern-sidebar) .right-content{
	float: none;
	flex: none;
	width: auto !important;
	max-width: none !important;
	margin-left: 274px;
	box-sizing: border-box;
	transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.main-holder.has-modern-sidebar.sidebar-modern-collapsed .right-content,
.main-holder:has(.modern-sidebar.collapsed) .right-content{
	margin-left: 64px;
}
.left-footer{
	left: 0;
	bottom: 0;
	content: "";
	width: 257px;
	padding: 33px;
	position: absolute;
	background: #0a9fc7;
	top:502px;
	height:304px;
}
.left-footer:after{
	/*top: -96px;
	left: -3px;
	width: 260px;
	height: 104px;*/
	    top: 0px;
    left: -3px;
    width: 260px;
    height: 85px;
	content: "";
	position: absolute;
	background: url(../images/border-top.png) no-repeat;
}
.left-footer h2{
	color: #fff;
	position: relative;
	padding: 0 0 12px;
	font-size: 19px;
}
.left-footer h2:after{
	left: 0;
	right: 0;
	bottom: 0;
	width: 96px;
	height: 1px;
	content: "";
	margin: 0 auto;
	position: absolute;
	background: url(../images/border-2.png) no-repeat;
}
.left-footer span{
	display: block;
}
.left-footer span img{
	margin: 0 12px 0 0;
}

.left-footer span a{
	display: inline-block;
	color: #fff;
	font-size: 20px;
}
.footer-social{
	padding: 24px 0 0;
	margin: 24px -30px 0;
	list-style: none;
	overflow: hidden;
	text-align: center;
	border-top: 1px solid #0faed8;
}

.footer-social li{
	display: inline-block;
	vertical-align: middle;
	position: relative;
	padding: 0 8px;
}
.footer-social li:after{
	left: 0;
	top: 0;
	height: 20px;
	width: 1px;
	content: "";
	position: absolute;
	background: #1e687c;
}
.footer-social li:first-child:after{
	display: none;
}
.left-text-holder{
	flex: 0 0 250px;
	width: 250px;
	max-width: 250px;
	float: none;
}
#flip{
	display: none;
}
#flip a{
	display: block;
}
.left-content{
	float: left;
	width: 250px;
	min-height: 502px;
	position: relative;
	padding:0 0 999px;
	margin:0 0 -999px;
	background: url(../images/patren.png);
}
.left-content .logo-box{
	text-align: center;
	padding: 20px 10px 24px;
	border-bottom: 1px solid #323232;
}
.left-content .logo-box .logo{
	display: block;
}
.accordion-holder .panel{
	margin: 0;
	background-color: transparent;
	border-bottom: 1px solid #53ccec;
}
.accordion-holder .panel a{
	padding: 12px 20px;
	font-size: 14px;
	color: #000;
	position: relative;
	text-transform: capitalize;
	background-color: transparent;
}
.accordion-holder .panel a:after{
	top: 50%;
	right: 20px;
	content: "";
	width: 0;
	height: 0;
	display: none;
	margin: -5px 0 0;	
	position: absolute;	
	border-style: solid;
	border-width: 4px 0 4px 5px;
	border-color: transparent transparent transparent #fff;

}
.accordion-holder .panel a:before{
	top: 50%;
	right: 20px;
	content: "";
	width: 0;
	height: 0;
	display: block;
	margin: -5px 0 0;	
	position: absolute;	
	border-style: solid;
	border-width: 6px 4px 0 4px;
	border-color: #fff transparent transparent transparent;

}
.accordion-holder li:last-child.panel a:before{ display: none; }
.accordion-holder .panel a.collapsed:after{
	display: block;
}
.accordion-holder .panel a.collapsed:before{
	display: none;
}


.accordion-holder .panel a:hover,
.accordion-holder .panel a.active,
.accordion-holder .panel a:focus{
	background: rgba(255,255,255,.4);

}
.accordion-holder .panel a img{
	margin: 0 20px 0 0;
	display: inline-block;
}

.accordion-holder .panel ul{
	padding: 10px 10px 10px 50px;
	margin: 0;
	list-style: none;
}

.accordion-holder .panel ul li{
	display: block;
	padding: 0;
	margin: 0 0 6px;
	padding: 0 0 0 20px;
	position: relative;
}
.accordion-holder .panel ul li:after{
	top: 4px;
	left: 0;
	width: 8px;
	height: 8px;
	content: "";
	position: absolute;
	border-radius: 50%;
	background: #fff;
}
.accordion-holder .panel ul li a{
	padding: 0;
	color: #000;
	background: none;
}
.accordion-holder .panel ul li a:after,
.accordion-holder .panel ul li a:before{
	display: none;
}
.accordion-holder .panel ul li a:hover,
.accordion-holder .panel ul li a.active,
.accordion-holder .panel ul li a:focus{
	background-color: transparent;
	text-decoration: none;
	color: #fff;
}


.right-content{
	overflow: hidden;
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	float: none;
}

.right-content .top-header{
	position: relative;
	height: 100px;
}
.right-content .top-header img.top-img{
	height: 100%;
	width: 100%;
}
.top-header .text-cap{
	top: 10px;
	left: 80px;
	right: 80px;
	content: "";
	height: 20px;
	position: absolute;
}
.top-header .text-cap .left-list{
	padding: 0;
	margin: 0;
	float: left;
	list-style: none;
}
.top-header .text-cap .left-list li{
	 display: inline-block;
	 margin: 0 5px ;
}
.top-header .text-cap .right-panel{
	float: right;
	color: #000;
	font-size: 14px;
	width: 34%;
    text-align: right;
}
.top-header .text-cap .right-panel img{
	display: inline-block;
	margin: 0 10px 0 0;
}

/* ============================================
   Modern Top Header - Matches Sidebar Scheme
   ============================================ */

.top-header-modern {
  position: relative;
  min-height: 85px;
  background: linear-gradient(180deg, #f8f7f9 0%, #f0eff2 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  z-index: 100;
}

.header-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.03) 0%, transparent 50%);
  opacity: 1;
  pointer-events: none;
}

.header-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(0,0,0,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.6;
  pointer-events: none;
}

.header-content-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 40px;
  min-height: 85px;
}

/* Header Left Section */
.header-left-section {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-download-guide {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: #fff;
  color: #4f46e5;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid rgba(99, 102, 241, 0.3);
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.btn-download-guide:hover {
  background: rgba(99, 102, 241, 0.08);
  border-color: #6366f1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
  color: #4f46e5;
  text-decoration: none;
}

.btn-download-guide i {
  font-size: 16px;
}

.btn-download-guide.hide {
  display: none;
}

/* Header Right Section */
.header-right-section {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* User Profile Dropdown */
.user-profile-dropdown {
  position: relative;
}

.user-profile-trigger {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 18px;
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
  min-width: 300px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.user-profile-trigger:hover {
  background: #f8f7f9;
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.user-profile-trigger.active {
  background: rgba(99, 102, 241, 0.06);
  border-color: rgba(99, 102, 241, 0.35);
}

.user-avatar {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(99, 102, 241, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.avatar-status {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: #22c55e;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.user-info {
  flex: 1;
  min-width: 0;
}

.user-name {
  font-size: 15px;
  font-weight: 700;
  color: #2d2b2e;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.last-login,
.user-ip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6b6a6e;
  font-weight: 500;
}

.last-login i,
.user-ip i {
  font-size: 11px;
  color: #8e8c91;
}

.dropdown-arrow {
  color: #8e8c91;
  font-size: 12px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.user-profile-trigger:hover .dropdown-arrow,
.user-profile-trigger.active .dropdown-arrow {
  color: #6366f1;
}

.user-profile-trigger.active .dropdown-arrow {
  transform: rotate(180deg);
}

/* User Profile Menu */
.user-profile-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 1000;
  overflow: hidden;
}

.user-profile-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.profile-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: #4a4a4c;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.profile-menu-item:hover {
  background: rgba(99, 102, 241, 0.06);
  border-left-color: #6366f1;
  color: #4f46e5;
  padding-left: 22px;
  text-decoration: none;
}

.profile-menu-item i {
  width: 20px;
  text-align: center;
  font-size: 16px;
  color: #8e8c91;
  transition: color 0.2s ease;
}

.profile-menu-item:hover i {
  color: #6366f1;
}

.profile-menu-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.06);
  margin: 6px 0;
}

.profile-menu-item.logout-item {
  color: #dc2626;
}

.profile-menu-item.logout-item:hover {
  background: rgba(239, 68, 68, 0.08);
  border-left-color: #dc2626;
  color: #b91c1c;
}

.profile-menu-item.logout-item i {
  color: #dc2626;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .header-content-wrapper {
    padding: 20px 30px;
  }
  
  .user-profile-trigger {
    min-width: 280px;
  }
}

@media (max-width: 768px) {
  .top-header-modern {
    min-height: 100px;
  }
  
  .header-content-wrapper {
    flex-direction: column;
    gap: 15px;
    padding: 15px 20px;
    align-items: stretch;
  }
  
  .header-left-section,
  .header-right-section {
    width: 100%;
    justify-content: center;
  }
  
  .user-profile-trigger {
    min-width: 100%;
    justify-content: center;
  }
  
  .user-meta {

    justify-content: center;
    font-size: 11px;
  }
  
  .user-name {
    text-align: center;
  }
  
  .user-profile-menu {
    right: auto;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    min-width: 200px;
  }
  
  .user-profile-menu.show {
    transform: translateX(-50%) translateY(0);
  }
}

@media (max-width: 480px) {
  .user-profile-trigger {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }
  
  .user-info {
    width: 100%;
  }
  
  .user-meta {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  
  .dropdown-arrow {
    display: none;
  }
  
  .btn-download-guide {
    padding: 10px 18px;
    font-size: 13px;
  }
  
  .btn-download-guide span {
    display: none;
  }
}

.top-content{
	padding: 10px;
	overflow: hidden;
	background: #efefef;
}
.top-content .content-holder{
	max-width: 1010px;
	margin: 0 auto;
	overflow: hidden;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.top-content .content-holder li{
	display: inline-block;
	max-width: 25%;
	font-size: 14px;
	color: #000;
}
.top-content .content-holder li:last-child{
	width: 37%;
}
.top-content .content-holder li img{
	display: inline-block;
	margin: 0 10px 0 0;
}
.top-content .content-holder li span{
	display: inline-block;
	margin: 0 20px 0 0;
}
.top-content .content-holder li:last-child span{
	margin: 0;
}
.top-content .content-holder li em{
	font-style: normal;
	display: inline-block;
}

/* ============================================
   Modern Top Content Design
   ============================================ */

.top-content-modern {
  padding: 12px 16px;
  font-size: 13px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 1px solid #dee2e6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.top-content-modern .stats-grid {
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.top-content-modern .stat-card-modern {
  padding: 8px 12px;
  gap: 12px;
  border-radius: 12px;
}

.stat-card-modern {
 background: white;
    border-radius: 16px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-left: 4px solid transparent;
}

.stat-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat-card-modern:hover::before {
  opacity: 1;
}

/* Stat Card Types */
.stat-card-modern.stat-sms {
  border-left-color: #667eea;
}

.stat-card-modern.stat-sms .stat-icon-wrapper {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-card-modern.stat-email {
  border-left-color: #f093fb;
}

.stat-card-modern.stat-email .stat-icon-wrapper {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stat-card-modern.stat-call {
  border-left-color: #4facfe;
}

.stat-card-modern.stat-call .stat-icon-wrapper {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stat-card-modern.stat-expiry {
  border-left-color: #43e97b;
}

.stat-card-modern.stat-expiry .stat-icon-wrapper {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.stat-card-modern.stat-payment {
  border-left-color: #fa709a;
}

.stat-card-modern.stat-payment .stat-icon-wrapper {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

/* Stat Icon Wrapper */
.top-content-modern .stat-icon-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: 14px;
}

.top-content-modern .stat-label {
  font-size: 9px;
}

.top-content-modern .stat-value {
  font-size: 14px;
  margin-bottom: 3px;
}

.top-content-modern .stat-badge {
  width: 32px;
  height: 32px;
  font-size: 14px;
}

.stat-icon-wrapper {
width: 40px;
    height: 40px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.stat-card-modern:hover .stat-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Stat Content Wrapper */
.stat-content-wrapper {
  flex: 1;
  min-width: 0;
}

.stat-label {
font-size: 10px;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
      font-size: 18px;
    font-weight: 700;
    color: #333;
    line-height: 1;
    margin-bottom: 5px;
}

/* Stat Badge */
.stat-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(40, 167, 69, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #28a745;
  font-size: 18px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.stat-card-modern:hover .stat-badge {
  background: rgba(40, 167, 69, 0.2);
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
  }
  
  .top-content-modern .stats-grid {
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  
  .stat-card-modern {
    padding: 20px;
  }
  
  .top-content-modern .stat-card-modern {
    padding: 8px 12px;
  }
  
  .stat-icon-wrapper {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .stat-value {
    font-size: 24px;
  }
  
  .top-content-modern .stat-value {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .top-content-modern {
    padding: 10px 12px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .top-content-modern .stats-grid {
    gap: 10px;
  }
  
  .stat-card-modern {
    padding: 20px;
    flex-direction: column;
    text-align: center;
  }
  
  .top-content-modern .stat-card-modern {
    padding: 10px 12px;
  }
  
  .stat-icon-wrapper {
    width: 70px;
    height: 70px;
    font-size: 32px;
  }
  
  .top-content-modern .stat-icon-wrapper {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  
  .stat-content-wrapper {
    width: 100%;
  }
  
  .stat-badge {
    position: absolute;
    top: 15px;
    right: 15px;
  }
  
  .top-content-modern .stat-badge {
    width: 32px;
    height: 32px;
    font-size: 14px;
    top: 8px;
    right: 8px;
  }
}

@media (max-width: 480px) {
  .stat-value {
    font-size: 22px;
  }
  
  .top-content-modern .stat-value {
    font-size: 14px;
  }
  
  .stat-label {
    font-size: 12px;
  }
  
  .top-content-modern .stat-label {
    font-size: 9px;
  }
}

.account-detail{
	overflow: hidden;
	padding: 8px 0px 0 0 ;
	/**/
}
.account-detail .row{
	margin: 0 !important;
}
.account-detail .row .col-sm-8{
	width: 600px !important;
	display: block !important;
	float: none !important;
	margin: 0 auto !important;
}
.account-detail h1{
	display: block;
	text-align: center;
	font-size: 20px;
	color: #000;
	padding: 0 0 9px;
	position: relative;
	text-transform: capitalize;
}
.account-detail h1:after{
	left: 0;
	right: 0;
	bottom: 0;
	width: 124px;
	height: 1px;
	content: "";
	margin: 0 auto;
	position: absolute;
	background: url(../images/bg-border.png) no-repeat;
}
.account-detail .containerr{
	/*max-width: 960px;*/
	max-width: 1100px;
	margin: 0 auto;
	overflow: hidden;
	min-height:460px;
}
.account-detail .account-row{
	margin: 0 0 10px;
}
.account-detail .account-row label{
	display: block;
	margin: 0 0 10px;
	color: #000;
	font-weight: normal;
	font-weight: 16px;
	text-transform: capitalize;
}
.account-detail .account-row input[type="text"],
.account-detail .account-row input[type="password"],
.account-detail .account-row input[type="email"],
.account-detail .account-row select,
.select-holder select{
	width: 100%;
	height: 34px;
	padding: 5px 10px;
	border: 1px solid #a9a9a9;
}
.select-holder select,
.account-detail .account-row select{
	background: url(../images/down-arrow.png) no-repeat;
	background-position: 96% 12px;
}
.account-detail .account-row input[type="text"]:focus,
.account-detail .account-row input[type="password"]:focus,
.account-detail .account-row input[type="email"]:focus,
.account-detail .account-row select:focus{
	border-color: #1bbde8;
}

input[type="text"],
input[type="password"],
input[type="email"],
select,
select{
	width: 100%;
	height: 34px;
	padding: 5px 10px;
	border: 1px solid #a9a9a9;
}
select,
select{
	background: url(../images/down-arrow.png) no-repeat;
	background-position: 96% 12px;
}
input[type="text"]:focus,
input[type="password"]:focus,
select:focus{
	border-color: #1bbde8;
}


.btn-holder{
	width: 100%;
	overflow: hidden;
	text-align: center;
}
.btn-holder button{
	border: 0;
	color: #000;
	margin: 20px 0;
	font-size: 16px;
	padding: 12px 50px;
	background: #1bbde8;

	display: inline-block;
	text-transform: capitalize;
}
.btn-holder button:hover{
	color: #1bbde8;
	background: #000;
}

.footer{
	padding: 20px 70px;
	overflow: hidden;
	background: #323232;
}
.footer .footer-logo{
	float: left;
}
.footer p{
	float: right;
	color: #7d7d7d;
	font-size: 14px;
	line-height: 44px;
	margin: 0;
}
.account-row.check_box input[type="checkbox"]{
	margin: 0;
}

.check_-box{
	overflow: hidden;
	padding: 14px 0 14px 0;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.check_-box span{
	margin: 0 20px 0 0;
	display: inline-block;
}
.check_-box .c-box{
	display: flex;
	margin: 0;
	align-items: center;
	justify-content: space-between;
}
.check_-box .c-box input[type="checkbox"]{
	margin: 0 6px 0 0;
}
.check_-box .c-box input[type="radio"]{
	margin: 0 6px 0 0;
}
.check_-box .c-box.align-right label{
    width: 140px;
}
.check_-box .c-box label{
	font-weight: normal;
	margin: 0 18px;
	text-transform: capitalize;
	width: 100px;
	display: flex;
	align-items: center;
}
.check_-box .c-box.align-right{
	float: right;
	width: 300px;
}

.tabs-area{
	overflow: hidden;
}
.tabs-area ul{
	padding: 0;
	margin: 0;
	list-style: none;
	border-bottom: 0;
}
.tabs-area .nav-tabs > li > a{
	color: #fff;
	font-size: 16px;
	padding: 6px 10px;
	border-radius: 0;
	background: #1bbde8;
	margin-right: 6px; 
}
.tabs-area .nav-tabs > li > a:hover{
	border-color: #1bbde8;
	background-color: #1bbde8;
}
.tabs-area .nav-tabs > li:focus > a, 
.tabs-area .nav-tabs > li.active > a,
.tabs-area .nav-tabs > li.active > a:focus,
.tabs-area .nav-tabs > li.active > a:hover{
	border-color: #1bbde8;
	color: #1bbde8;
	background-color: transparent;
}
.tabs-area .tab-content{
	padding: 16px 0 0;
}
.tabs-area .tab-content textarea{
	border: 1px solid #b3b3b3;
	padding: 15px;
	width: 100%;
	height: 230px;
}
.tabs-area .tab-content span{
	float: right;
}

.send-list{
	overflow: hidden;
	margin: 10px 0 15px;
}

.send-list span{
	float: left;
	margin: 10px 20px 0 0;
}
.send-list ul{
	padding: 0;
	margin: 0;
	list-style: none;
	float: left;
}
.send-list ul li{
	float: left;
	margin: 0 14px 0 0;
}
.send-list ul li a{
	display: block;
	color: #333;
	width: 140px;
	padding: 8px;
	text-align: center;
	font-size: 16px;
	border: 1px solid #1bbde8;
	text-transform: capitalize;
}
.send-list ul li:hover a,
.send-list ul li.active a,
.send-list ul li a.focus{
	background: #1bbde8;
	color: #fff;
	text-decoration: none;
} 

.text-holder{
	max-width: 960px;
	margin: 0 auto;
	padding: 100px 0 0;
	overflow: hidden;
}
.t-holder textarea{
	border: 1px solid #b3b3b3;
	padding: 15px;
	width: 100%;
	height: 230px;
}

.t-holder .left{
	float: left;
}

.t-holder .right{
	float: right;
}
.btn-frame{
	overflow: hidden;
	width: 100%;
	margin: 20px 0;
	text-align: center;
}
.btn-frame a{
	width: 150px;
	color: #fffefe;
	padding: 12px;
	margin: 0 15px 0 0;
	font-size: 16px;
	text-align: center;
	display: inline-block;
	background: #323232;
}

.btn-frame a:first-child{
	background: #1bbde8;
}
.btn-frame a:last-child{
	background: #0a9fc7;
}

.btn-frame a:hover,
.btn-frame a.active{
	opacity: .8;
	color: #fff;
	text-decoration: none;
}

.select-holder{
	overflow: hidden;
	margin: 80px 0 80px 15px;
}

.select-holder label{
	float: left;
	margin: 6px 14px 0 0;
	font-weight: normal;
}
.select-holder select{
	float: left;
	border: 1px solid #a9a9a9;
}
.select-holder select{
	width: 280px;
}

.upload-holder{
	overflow: hidden;
	width: 100%;
	margin: 0 0 0 15px;
}
.upload-holder .btn{
	border-radius: 0;
	background: #e6e6e6;
	margin: 0 20px 0 0;
	border: 1px solid #a9a9a9;
}


/* =============================== SADIA KALSOOM */

.table-list { width:100%; margin-bottom:20px;}
.table-list th{ border:1px solid #ccc ; text-align:left; padding:5px; text-transform:capitalize;background-color: #323232;color: #fff;}
.table-list td { border:1px solid #ccc; text-align:left; padding:5px  }

.table-list  tbody tr:nth-child(odd) { background-color:#EFEFEF; }

div.dataTables_wrapper div.dataTables_info { float:left;}
div.dataTables_wrapper div.dataTables_paginate{   
	 margin-top: 15px !important;
     margin-bottom: 15px !important ;
	 }
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th{ padding:4px !important;}
.paginate_button { padding: 5px 8px;
    border: 1px solid #19B8E2;
    margin-left: 2px;
    color: #323232;
    cursor: pointer;}
a.current{ 
	background-color: #323232;
    border: 1px solid #323232;
    color: #fff; 
}
.dataTables_length ,.dataTables_filter_olll{ display:none !important}
.body-section{     max-height: 500px !important; overflow:scroll !important}
a:focus, a:hover{ text-decoration:none !important;}
 
label.error{     color: #900!important;font-size: 11px;} 


input[type="text"].error,input[type="password"].error, select.error, .select-holder select.error,
textarea.error{ border:1x solid red !important}

.btn-var{     
	background: #1bbde8;
    color: #fff;
    text-decoration: none; 
	line-height: 30px;
    padding: 0 20px;
	border:2px solid #fff; 
}
.btn-var1{     
	background: #1bbde8;
    color: #fff;
    text-decoration: none; 
	line-height: 30px;
    padding:5px 10px;
	border:0;
	margin-left:5px; 
	
	
}

.dashboard{
	overflow: hidden;
	padding: 60px 60px;
}
.dashboard .holder_2{
	margin: 0 0 50px;
	padding: 0 10px 50px 0;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}
.dashboard .holder_2 .img-block{
	display: inline-block;
	margin: 0 16px 0 0;
	position: relative;
}
.dashboard .holder_2 .img-block:after{
	right: -24px;
	bottom: 0;
	width: 43px;
	height: 17px;
	content: "";
	position: absolute;
	background: url(../images/img32.png) no-repeat;
}
.dashboard .holder_2 span{
	display: inline-block;
	color: #000;
	font-size: 16px;
	text-transform: capitalize;
}




@media only screen and (max-width : 1340px){
	.top-content .content-holder li{
		font-size: 12px;
		font-weight: bold;
	}
	.top-content .content-holder li span{
		margin: 0 10px 0 0;
	}
	.account-detail{
		padding: 30px 40px;
	}
	.account-detail .containerr{
		max-width:960px;
	}
}


@media only screen and (max-width : 1199px){
	.top-content .content-holder li img{
		display: block;
		margin: 0 0 10px;
	}
	.top-content .content-holder li{
		max-width: 25%;
		flex-wrap: wrap;
		text-align: center;
	}
	.top-content .content-holder li em,
	.top-content .content-holder li span{
		display: block;
		width: 100%;
	}
	/*.top-content .content-holder li:last-child{
		width: 41%;
	}*/
	.tabs-area .nav-tabs > li > a{
		margin: 5px;
	}
	.dashboard .holder_2 .img-block img{
		width: 66px ;
		height: auto;
	}
	.dashboard .holder_2 span{
		font-size: 14px;
	}
	.dashboard{
		padding: 40px 20px;
	}
	.dashboard .holder_2 .img-block{
		margin: 0 4px 0 0;
	}
	.dashboard .holder_2{
		padding: 0 0 50px 0;
	}
	
	
}


@media only screen and (max-width : 991px){
	.top-header .text-cap{
		left: 20px;
		right: 20px;
		top: 20px;
	}
	.check_-box .c-box label{
		margin: 0 4px;
	}
	.tabs-area .tab-content textarea{
		height: 130px;
	}
	.send-list ul li a{
		width: 103px;
		font-size: 14px;
	}
	.footer{
		padding: 20px 15px;
	}
	.footer p{
		font-size: 13px;
	}
	.text-holder{
		padding: 60px 15px;
		width: 100%;
	}
	.t-holder .left,
	.t-holder .right{
		font-size: 13px;
	}
	.left-content{
		min-height: 978px;
	}
	#footer .column{
		width: 31%;
	}
	.account-detail .row .col-sm-8{
		width: 490px !important;	
	}
	#code{
		width: 25%;
	}
	.ipa-pass .account-row{
		overflow: hidden;
	}
	.ipa-pass .account-row input[type="text"]{
		width: 75%;
	}
}

@media only screen and (max-width: 767px){
	.dashboard .row{
		display: flex;
		flex-wrap: wrap;
	}
	.dashboard .row .col-md-4.col-sm-6{
		width: 50%;
	}
	.left-content .logo-box{
		padding: 40px 20px 20px;
	}
	.top-content .content-holder li{
		max-width: 50%;
	}
	#panel{
		display: block !important;
		height: 100% !important;
	}
	#flip{
		display: block !important;
		position: fixed;
		top: 10px;
		left: 10px;
		width: 36px;
		height: 36px;
		z-index: 10001;
		padding: 8px;
		border-radius: 8px;
		background: #1abce6;
	}
	.main-holder.has-modern-sidebar #flip,
	.main-holder:has(.modern-sidebar) #flip{
		display: block !important;
	}
	.left-text-holder.open #flip{
		left: 10px;
	}
	.left-text-holder.open{
		left: 0;
	}
	.main-holder{
		display: block;
	}
	.left-text-holder{
		top: 0;
		left: -250px;
		width: 250px;
		max-width: 250px;
		flex: none;
		z-index: 9999;
		position: absolute;
		transition: all .5s linear;
		-webkit-transition: all .5s linear;
	}
	.left-text-holder.open{
		left: 0;
	}
	.right-content{
		width: 100% !important;
		max-width: 100%;
		float: none;
		margin-left: 0 !important;
	}
	.main-holder.has-modern-sidebar .right-content,
	.main-holder:has(.modern-sidebar) .right-content{
		margin-left: 0 !important;
		width: 100% !important;
	}
	.main-holder.has-modern-sidebar .modern-sidebar,
	.main-holder:has(.modern-sidebar) .modern-sidebar{
		transform: translateX(-100%);
	}
	.main-holder.has-modern-sidebar .modern-sidebar.show,
	.main-holder:has(.modern-sidebar.show) .modern-sidebar{
		transform: translateX(0);
	}
	.top-header .text-cap{
		left: 54px;
		right: 14px;
		top: 8px;
	}
	.pic-ss{
	    height: auto !important;
	}
	.top-header .text-cap .left-list li{
		margin: 0;
	}
	.top-content .content-holder{
		max-width: inherit;
		width: 100%;
		padding: 30px 6px;
		display: flex;
		flex-wrap: wrap;
	}
	.top-content .content-holder li img{
	    margin: 0 auto 10px;
	}
	.top-content .content-holder li,
	.top-content .content-holder li:last-child{
		width: 50%;
		text-align: center;
		margin: 0 0 10px;
	}
	.dashboard .col-md-6{
	    width: 50% !important;
	}
	
	.account-detail{
		padding: 30px 15px;
	}
	.tabs-area ul{
		text-align: center;
	}
	.nav-tabs > li{
		float: none !important;
		display: inline-block !important;
	}
	.tabs-area .tab-content{
		padding: 15px;
	}
	.send-list{
		padding: 0 15px;
	}
	.send-list ul li{
		margin: 0 5px 5px;
		width: 46%;
	}
	.send-list ul li a{
		width: 100%;
	}
	.text-holder{
		padding: 0 15px;
	}
	.t-holder .left, .t-holder .right{
		float: none;
		display: block;
		margin: 5px 0;
	}
	.btn-frame{
		margin: 30px 0 ;
	}
	.btn-frame a{
		margin: 0 0 10px;
	}
	.send-list{
		padding: 0;
	}
	.select-holder{
		margin: 20px 0;
	}
	.login-box .logo{
		width: 230px;
		margin: 0 auto 30px;
	}
	.login-box .login-form{
		width: 94%;
	}
	#footer{
		padding: 40px 0;
	}
	#footer .column{
		width: 100%;
	}
	.account-detail .containerr{
		padding: 0 15px;
	}
	.check_-box-d .c-box{
		display: flex;
		width: 100%;
	}
	.account-detail .account-row .col-xs-3{
		width: 33.3% !important;
	}
}
@media (max-width: 575px){
    .btn-group-vertical > .btn , .btn-group > .btn{
        width: 33.3%;
    }
    .dashboard .holder_2 span{
    	display: block;
    	width: 100%;
    	margin: 10px 0 0 16px;
    }
    .dashboard .holder_2{
    	padding: 0 0 20px;
    }
    .dashboard .holder_2{
    	margin: 0 0 30px;
    }
    .top-header .text-cap .right-panel{
    	font-size: 12px;
    	width: 46%;
    }
    .btn-danger{
    	font-size: 12px;
    }
    .right-content .top-header{
    	height: 68px;
    }
    .footer .footer-logo,
    .footer p{
    	width: 100%;
    	float: none;
    	display: block;
    	text-align: center;
    }
    .top-content .content-holder{
    	padding: 10px 6px 0;
    }
    .account-detail .account-row .col-xs-3{
		width: 100% !important;
	}
	.btn-var{
		padding: 0 6px;
		font-size: 12px;
	}
	.account-detail .row .col-sm-8{
		width: 100% !important;	
	}
}
#duplicate{ color: red; }



.btn-holder input[type=submit]:hover {
    color: #1bbde8;
    background: #000;
}

.btn-holder input[type=submit] {
    border: 0;
    color: #000;
    margin: 20px 0;
    font-size: 16px;
    padding: 12px 50px;
    background: #1bbde8;
    display: inline-block;
    text-transform: capitalize;
}

/* ======================== INVOICE*/
@font-face {
  font-family: SourceSansPro;
 /* src:url(http://cbf21/www/brandedsms/resources/fonts/SourceSansPro-Regular.ttf)*/
  src: url(../fonts/SourceSansPro-Regular.ttf);
}

header.inv .clearfix:after {
  content: "";
  display: table;
  clear: both;
  font-family: SourceSansPro;
}


header.inv {
  padding: 10px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #AAAAAA;
  font-family: SourceSansPro;
}

#logo_inv {
  float: left;
  margin-top: 8px;
  font-family: SourceSansPro;
}

#logo_inv img {
  height: 70px;
}

#company_inv {
  float: right;
  text-align: right;
  font-family: SourceSansPro;
}


#details {
  margin-bottom: 50px;
  font-family: SourceSansPro;
}

#client {
  padding-left: 6px;
  border-left: 6px solid #0087C3;
  float: left;
  font-family: SourceSansPro;
}

#client .to {
  color: #777777;
  font-family: SourceSansPro;
}

h2.name {
  font-size: 1.4em;
  font-weight: normal;
  margin: 0;
  font-family: SourceSansPro;
}

#invoice {
  float: right;
  text-align: right;
  font-family: SourceSansPro;
}

#invoice h1 {
  color: #0087C3;
  font-size: 20px;
  line-height: 1em;
  font-weight: normal;
  margin: 0  0 10px 0;
  font-family: SourceSansPro;
}

#invoice .date {
  font-size: 1.1em;
  color: #777777;
  font-family: SourceSansPro;
}

table.inv {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin-bottom: 20px;
  font-family: SourceSansPro;
}

table.inv th,
table.inv td {
  padding: 13px;
  background: #EEEEEE;
  text-align: center;
  border-bottom: 1px solid #FFFFFF;
  font-family: SourceSansPro;
}

table.inv th {
  white-space: nowrap;        
  font-weight: normal;
  font-family: SourceSansPro;
}

table.inv td {
  text-align: right;
  font-family: SourceSansPro;
}

table.inv td h3{
  color: #57B223;
  font-size: 1.2em;
  font-weight: normal;
  margin: 0 0 0.2em 0;
  font-family: SourceSansPro;
}

table.inv .no {
  color: #FFFFFF;
  font-size: 1.0em;
  background: #57B223;
  font-family: SourceSansPro;
}

table.inv .desc {
  text-align: left;
  font-family: SourceSansPro;
}

table.inv .unit {
  background: #DDDDDD;
  font-family: SourceSansPro;
}

table.inv .qty {
}

table.inv .total {
  background: #57B223;
  color: #FFFFFF;
  font-family: SourceSansPro;
}

table.inv td.unit,
table.inv td.qty,
table.inv td.total {
  font-size: 1.2em;
  font-family: SourceSansPro;
}

table.inv tbody tr:last-child td {
  border: none;
  font-family: SourceSansPro;/**/
}

table.inv tfoot td {
  padding: 10px 20px;
  background: #FFFFFF;
  border-bottom: none;
  font-size: 1.2em;
  white-space: nowrap; 
  border-top: 1px solid #AAAAAA;
  font-family: SourceSansPro; 
}

table.inv tfoot tr:first-child td {
  border-top: none;
  font-family: SourceSansPro; 
}

table.inv tfoot tr:last-child td {
  color: #57B223;
  font-size: 1.4em;
  border-top: 1px solid #57B223; 
  font-family: SourceSansPro;

}

table.inv tfoot tr td:first-child {
  border: none;
  font-family: SourceSansPro;
}

#thanks{
  font-size: 2em;
  margin-bottom: 50px;
  font-family: SourceSansPro;
}

#notices{
  padding-left: 6px;
  border-left: 6px solid #0087C3;
  font-family: SourceSansPro;  
}

#notices .notice {
  font-size: 1.2em;
  font-family: SourceSansPro;
}

footer {
  color: #777777;
  width: 100%;
  height: 30px;
 /* position: absolute;*/
  bottom: 0;
  border-top: 1px solid #AAAAAA;
  padding: 8px 0;
  text-align: center;
  font-family: SourceSansPro;
}

input:-webkit-autofill {
    background-color: #fff !important;
}
td.details-control { 
    background: url(../images/trach_.png) no-repeat center;
    cursor: pointer;
}
td.details-control2 { 
    background: url(../images/edit_.png) no-repeat center;
    cursor: pointer;
}
td.details-control3 { 
    background: url(../images/delete_.png) no-repeat center;
    cursor: pointer;
}


tr td.view_campaign { 
    background: url(../images/view.png) no-repeat center;
    cursor: pointer;
}

tr.shown td.details-control {
    background: url('../resources/details_close.png') no-repeat center center;
}
.jconfirm .jconfirm-box div.jconfirm-title-c{ font-size:15px;}
.comments{    background-color: #FFFF99;
    width: 20%;
    padding: 5px;
    border-radius: 4px;
    margin-left: 5px;}

.loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
	/*cupcake-a-simple-minimal-loader  send_sms */
    background: url('../images/preloader.gif') 50% 50% no-repeat rgb(0,0,0);
    opacity: .8;
}
.loader_sms {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
	/*cupcake-a-simple-minimal-loader  send_message_to_telecom */
    background: url('../images/preloader.gif') 50% 50% no-repeat rgb(0,0,0);
    opacity: .8;
}
.redcolor{ color:red;}
.greencolor{ color:green}
table.dataTable.nowrap th, table.dataTable.nowrap td{    white-space: unset !important;}
table.dataTable thead .sorting:after,table.dataTable thead .sorting_asc:after{ display:none !important}
.table-bordered>thead>tr>td, .table-bordered>thead>tr>th{border-bottom-width:1px; font-size: 13px !important; }
table.dataTable thead>tr>th.sorting_asc, table.dataTable thead>tr>th.sorting_desc, table.dataTable thead>tr>th.sorting, table.dataTable thead>tr>td.sorting_asc, table.dataTable thead>tr>td.sorting_desc, table.dataTable thead>tr>td.sorting{ padding-right:0px !important;}
.modal-footer .btn { margin-top:15px;}
.modal-footer .btn+.btn { margin-top:10px;}
.updated-news{
		font-size: 16px;
   		color: #fff;     
		width: 100%;
    	margin: 0 auto;
	}
.updated-news-marquee{
	padding: 0 !important;
    margin: 0 !important;
	background-color: rebeccapurple;
    line-height: 29px;
}
.ipa-pass{ border:1px solid #ccc; padding:10px; min-height:180px }
.ipa-pass .account-row { margin:25px 0 10px}

/* Modern API Password Page Styles */
.api-password-section {
    margin-top: 30px;
}

.api-password-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 30px;
    margin-bottom: 20px;
}

.current-password-box {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 8px;
    padding: 25px;
    height: 100%;
    border: 1px solid #e0e0e0;
}

.password-info-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(27, 189, 232, 0.2);
}

.password-info-header i {
    font-size: 24px;
    color: #1bbde8;
    margin-right: 12px;
}

.password-info-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.password-display label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.password-value {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid #ddd;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.password-text {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #333;
    word-break: break-all;
    font-weight: 600;
    letter-spacing: 1px;
}

.copy-password-btn {
    background: #1bbde8;
    border: none;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 10px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.copy-password-btn:hover {
    background: #159bc0;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(27, 189, 232, 0.3);
}

.password-form-box {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 25px;
    height: 100%;
    border: 1px solid #e0e0e0;
}

.password-form-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(27, 189, 232, 0.2);
}

.password-form-header i {
    font-size: 24px;
    color: #1bbde8;
    margin-right: 12px;
}

.password-form-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.password-form-body .form-group {
    margin-bottom: 20px;
}

.password-form-body label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.password-form-body label i {
    color: #1bbde8;
    margin-right: 6px;
}

.password-form-body .required {
    color: #e74c3c;
    margin-left: 3px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper .form-control {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
}

.input-wrapper .form-control:focus {
    outline: none;
    border-color: #1bbde8;
    box-shadow: 0 0 0 3px rgba(27, 189, 232, 0.1);
}

.toggle-password {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 8px;
    font-size: 16px;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #1bbde8;
}

.password-form-body .form-text {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #666;
}

.form-actions {
    margin-top: 25px;
    text-align: left;
}

.btn-submit {
    background: linear-gradient(135deg, #1bbde8 0%, #159bc0 100%);
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(27, 189, 232, 0.3);
    text-transform: capitalize;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 189, 232, 0.4);
    background: linear-gradient(135deg, #159bc0 0%, #1bbde8 100%);
}

.btn-submit i {
    margin-right: 8px;
}

/* API Examples Section */
.api-examples-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.api-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.api-toggle-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    text-decoration: none;
    color: #fff;
}

.api-toggle-btn i {
    margin-right: 10px;
}

.api-toggle-btn .toggle-icon {
    margin-right: 0;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.api-toggle-btn.active .toggle-icon {
    transform: rotate(180deg);
}

.api-examples-content {
    padding: 25px;
    background: #f8f9fa;
}

.api-example-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.api-example-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.api-example-item h5 {
    margin: 0 0 12px 0;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.api-url-box {
    background: #2d2d2d;
    border-radius: 6px;
    padding: 15px;
    overflow-x: auto;
    border-left: 4px solid #1bbde8;
}

.api-url-box code {
    color: #a9b7c6;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-all;
    display: block;
}

/* Form Validation Error Styling */
.password-form-body label.error {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: block;
    font-weight: normal;
}

.password-form-body input.error {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1) !important;
}

.password-form-body input.valid {
    border-color: #27ae60 !important;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .api-password-card {
        padding: 20px;
    }
    
    .current-password-box,
    .password-form-box {
        margin-bottom: 20px;
    }
    
    .password-value {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .copy-password-btn {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }
    
    .api-examples-content {
        padding: 15px;
    }
    
    .api-url-box code {
        font-size: 11px;
    }
}
.downloadlink{ 
	color: #663399;
    text-decoration: underline !important;
	margin-left: 10px;
    /*padding: 7px 10px;
    line-height: 20px;
    border-radius: 5px;*/
}
.downloadlink:hover{
	 color: #663399;
     text-decoration: underline !important;
	 }
#short-ur {    
	background-color: #663399;
    border: 0;
    font-size: 12px;
}
.pic-ss{ position:relative}
.pic-in img
{border-radius: 100%;
    height: 100px;
    width: 100%; margin-bottom:10px;}
.pic-in{     
	position: absolute;
    display: none;
    border: 1px solid #999;
    min-height: 100px;
    background-color: #ccc;
    width: 100%;
	text-align:center; z-index:12; margin-bottom:10px; padding:15px;}
.pic-in  a{ color:#663399; text-decoration:underline; line-height:30px;}
.pic-ss:hover .pic-in{ display:none}
.alert{ text-transform:capitalize;}
.variable-product{ margin-bottom:5px;}
.matchvalue{ margin-top:15px;}
.matchvalue label{ 
	font-size: 12px;
    font-weight: normal;
}
#disabled-btn{
	padding:0px 6px;
	font-size:11px;
	border-radius:1px
}
.focus {
	outline: 0 !important;
}
.fastalerts{
	background-color: red;
    padding: 2px 6px;
    color: white;
    border-radius: 100%;
	
	}
.color-green{ color:green;}
.btn-group, .btn-group-vertical {
	margin-bottom: 20px;
	width: 100%;
}
.btn-cyan {
	background-color: #00bcd4!important;
	color: #fff!important;
}
.btn-cyan:not([disabled]):not(.disabled).active, .btn-cyan:not([disabled]):not(.disabled):active, .show>.btn-cyan.dropdown-toggle {
	background-color: #00626e!important;
}
.btn-group>.btn-group:not(:last-child)>.btn, .btn-group>.btn:not(:last-child):not(.dropdown-toggle) {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}
.btn-cyan {
	background-color: #00bcd4!important;
	color: #fff!important;
	line-height: 30px;
	outline: 0 !important;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
}
.btn-rounded {
	border-radius: 10em;
	width: 20%;
}
.waves-effect {
	position: relative;
	cursor: pointer;
	overflow: hidden;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
	z-index: 1;
}
.btn-cyan.active:not([disabled]):not(.disabled) {
	box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
}
.btn:active, .btn:focus, .btn:hover {
	outline: 0 !important;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
}
.focus {
	outline: 0 !important;
}
.check_-box-d .c-box{
	display: inline-block;
	margin: 0 0 20px;
}

.check_-box-d .c-box label{ margin:0;}
.check_-box-d .radio-inline{ padding-left:1px;}
.download-btn{
	position: absolute;
    right: 15px;
    bottom: 33px;
    background-color: green;
    color: white;
    border: 0;
    line-height: 28px;
    padding: 0 15px;
    border-radius: 5px;}
.find-network{
	background-color: #75AB53;
    min-height: 30px;
    line-height: 30px;
    color: white;
	}
.color-red{ color:red !important}
/* ======================= radio on.off*/
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 20px;
}

.switch input {display:none;}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
  padding-left: 5px;
  color: white;
  font-size:12px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 17px;
  left: 9px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}


input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* ============================================
   Add Portable Number Page Styles
   ============================================ */

.add-portable-page {
  padding: 20px;
  background: #f8f9fa;
  min-height: calc(100vh - 100px);
}

/* Page Header */
.portable-page-header {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
  margin-bottom: 30px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.portable-page-header .header-background-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  opacity: 0.5;
}

.portable-page-header .header-animated-circles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.portable-page-header .circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.portable-page-header .circle-1 {
  width: 200px;
  height: 200px;
  top: -50px;
  left: 10%;
  animation-delay: 0s;
}

.portable-page-header .circle-2 {
  width: 150px;
  height: 150px;
  top: 50%;
  right: 15%;
  animation-delay: 2s;
}

.portable-page-header .circle-3 {
  width: 100px;
  height: 100px;
  bottom: -30px;
  left: 60%;
  animation-delay: 4s;
}

.portable-page-header .header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.portable-page-header .header-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.portable-page-header .header-icon-wrapper i {
  font-size: 40px;
  color: white;
}

.portable-page-header .page-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.portable-page-header .page-subtitle {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 25px;
}

.portable-page-header .header-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.portable-page-header .badge-item {
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
}

.portable-page-header .badge-item i {
  font-size: 16px;
}

/* Modern Alerts */
.modern-alert {
  border-radius: 12px;
  padding: 15px 20px;
  margin-bottom: 25px;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
}

.modern-alert.alert-success {
  background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
  color: #155724;
}

.modern-alert.alert-danger {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
  color: #721c24;
}

.modern-alert i {
  font-size: 20px;
}

.modern-alert .close {
  margin-left: auto;
  opacity: 0.7;
  font-size: 20px;
  font-weight: bold;
}

.modern-alert .close:hover {
  opacity: 1;
}

/* Info Card */
.portable-info-card {
  background: white;
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #667eea;
}

.portable-info-card .info-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.portable-info-card .info-card-header i {
  font-size: 24px;
  color: #667eea;
}

.portable-info-card .info-card-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

.portable-info-card .info-card-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.portable-info-card .info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.portable-info-card .info-item:hover {
  background: #e9ecef;
  transform: translateY(-2px);
}

.portable-info-card .info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}

.portable-info-card .info-icon.network-icon {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.portable-info-card .info-content {
  flex: 1;
}

.portable-info-card .info-content label {
  display: block;
  font-size: 12px;
  color: #666;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.portable-info-card .info-value {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  font-family: 'Courier New', monospace;
}

.portable-info-card .network-badge {
  display: inline-block;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.portable-info-card .network-badge.network-mobilink {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

.portable-info-card .network-badge.network-telenor {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  color: white;
}

.portable-info-card .network-badge.network-ufone {
  background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
  color: white;
}

.portable-info-card .network-badge.network-zong {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  color: #333;
}

/* Form Card */
.portable-form-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.portable-form-card .form-card-header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
}

.portable-form-card .form-card-header i {
  font-size: 40px;
  color: #667eea;
  margin-bottom: 15px;
}

.portable-form-card .form-card-header h3 {
  font-size: 26px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.portable-form-card .form-card-header p {
  color: #666;
  font-size: 15px;
  margin: 0;
}

/* Modern Form Styles */
.modern-portable-form .form-group-modern {
  margin-bottom: 30px;
}

.modern-portable-form .form-label-modern {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

.modern-portable-form .form-label-modern i {
  color: #667eea;
  font-size: 18px;
}

/* Phone Input Wrapper */
.phone-input-wrapper {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.country-code-select {
  flex: 0 0 120px;
  padding: 5px 10px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  background: white;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.country-code-select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.phone-input {
  flex: 1;
  padding: 12px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  font-family: 'Courier New', monospace;
  color: #333;
  transition: all 0.3s ease;
}

.phone-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.phone-input::placeholder {
  color: #bbb;
  font-weight: normal;
}

.form-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 13px;
  color: #888;
}

.form-hint i {
  font-size: 14px;
}

/* Network Selection Grid */
.network-selection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.network-option {
  position: relative;
  cursor: pointer;
  margin: 0;
}

.network-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.network-card {
  position: relative;
  background: white;
  border: 3px solid #e0e0e0;
  border-radius: 16px;
  padding: 25px 15px;
  text-align: center;
  transition: all 0.3s ease;
  overflow: hidden;
}

.network-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.network-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.network-card:hover::before {
  opacity: 1;
}

.network-icon-wrapper {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  transition: all 0.3s ease;
}

.network-mobilink .network-icon-wrapper {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.network-telenor .network-icon-wrapper {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.network-ufone .network-icon-wrapper {
  background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.network-zong .network-icon-wrapper {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.network-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-top: 10px;
}

.network-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background: #667eea;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
}

.network-option input[type="radio"]:checked + .network-card {
  border-color: #667eea;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.2);
}

.network-option input[type="radio"]:checked + .network-card .network-check {
  opacity: 1;
  transform: scale(1);
}

.network-option input[type="radio"]:checked + .network-card .network-icon-wrapper {
  transform: scale(1.1);
}

/* Form Actions */
.form-actions {
  margin-top: 35px;
  text-align: center;
}

.btn-modern {
  position: relative;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary-modern {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-primary-modern:active {
  transform: translateY(0);
}

.btn-primary-modern .btn-loading {
  display: none;
}

.btn-primary-modern.loading {
  pointer-events: none;
}

.btn-primary-modern.loading .btn-loading {
  display: inline-block;
}

.btn-primary-modern.loading span {
  opacity: 0.7;
}

/* Info Section */
.portable-info-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  padding: 30px;
  margin-top: 25px;
  color: white;
}

.portable-info-section .info-section-header {
  text-align: center;
  margin-bottom: 30px;
}

.portable-info-section .info-section-header i {
  font-size: 36px;
  margin-bottom: 15px;
  opacity: 0.9;
}

.portable-info-section .info-section-header h4 {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

.portable-info-section .info-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}

.portable-info-section .info-step {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.portable-info-section .info-step:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.portable-info-section .step-number {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.portable-info-section .step-content h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.portable-info-section .step-content p {
  font-size: 14px;
  opacity: 0.9;
  margin: 0;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
  .portable-page-header {
    padding: 40px 15px;
  }

  .portable-page-header .page-title {
    font-size: 28px;
  }

  .portable-page-header .page-subtitle {
    font-size: 16px;
  }

  .portable-page-header .header-badges {
    flex-direction: column;
    gap: 10px;
  }

  .portable-info-card .info-card-body {
    grid-template-columns: 1fr;
  }

  .phone-input-wrapper {
    flex-direction: column;
  }

  .country-code-select {
    flex: 1;
  }

  .network-selection-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portable-info-section .info-steps {
    grid-template-columns: 1fr;
  }

  .portable-form-card {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .network-selection-grid {
    grid-template-columns: 1fr;
  }

  .portable-page-header .header-icon-wrapper {
    width: 60px;
    height: 60px;
  }

  .portable-page-header .header-icon-wrapper i {
    font-size: 30px;
  }
}

/* Error Label Styles */
.error-label {
  display: block;
  color: #dc3545;
  font-size: 13px;
  margin-top: 5px;
  font-weight: 500;
}

.modern-portable-form input.error,
.modern-portable-form select.error {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

.modern-portable-form input.valid,
.modern-portable-form select.valid {
  border-color: #28a745 !important;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1) !important;
}

/* Network Card Selected State */
.network-card.selected {
  border-color: #667eea;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.2);
}

/* Animation Keyframes */
@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  33% {
    transform: translateY(-20px) translateX(10px);
  }
  66% {
    transform: translateY(10px) translateX(-10px);
  }
}

/* ============================================
   Templates Page Styles
   ============================================ */

.templates-page {
  padding: 0;
  background: #f8f9fa;
  min-height: calc(100vh - 100px);
}

/* Page Header */
.templates-page-header {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 60px 20px;
  margin-bottom: 30px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.templates-page-header .header-background-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  opacity: 0.5;
}

.templates-page-header .header-animated-circles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.templates-page-header .circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.templates-page-header .circle-1 {
  width: 200px;
  height: 200px;
  top: -50px;
  left: 10%;
  animation-delay: 0s;
}

.templates-page-header .circle-2 {
  width: 150px;
  height: 150px;
  top: 50%;
  right: 15%;
  animation-delay: 2s;
}

.templates-page-header .circle-3 {
  width: 100px;
  height: 100px;
  bottom: -30px;
  left: 60%;
  animation-delay: 4s;
}

.templates-page-header .header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.templates-page-header .header-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.templates-page-header .header-icon-wrapper i {
  font-size: 40px;
  color: white;
}

.templates-page-header .page-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.templates-page-header .page-subtitle {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 25px;
}

.templates-page-header .header-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.templates-page-header .badge-item {
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
}

.templates-page-header .badge-item i {
  font-size: 16px;
}

/* Action Bar */
.templates-action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-box-wrapper {
  position: relative;
  max-width: 400px;
  width: 100%;
}

.search-box-wrapper i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 16px;
}

.search-input {
  width: 100%;
  padding: 12px 15px 12px 45px;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  font-size: 15px;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-add-template {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-add-template:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  color: white;
  text-decoration: none;
}

.btn-add-template i {
  font-size: 18px;
}

/* Statistics Cards */
.templates-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 25px;
}

.templates-stats .stat-card {
  padding: 14px 16px;
  gap: 12px;
  border-radius: 12px;
}

.templates-stats .stat-icon {
  width: 44px;
  height: 44px;
  font-size: 20px;
  border-radius: 10px;
}

.templates-stats .stat-value {
  font-size: 22px;
  margin-bottom: 3px;
}

.templates-stats .stat-label {
  font-size: 11px;
}

.stat-card {
  background: white;
  border-radius: 16px;
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.stat-card.stat-total {
  border-left-color: #667eea;
}

.stat-card.stat-active {
  border-left-color: #84fab0;
}

.stat-card.stat-inactive {
  border-left-color: #ffecd2;
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  flex-shrink: 0;
}

.stat-total .stat-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-active .stat-icon {
  background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
}

.stat-inactive .stat-icon {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.stat-content {
  flex: 1;
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Filter Wrapper */
.action-bar-left {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.filter-wrapper {
  position: relative;
}

.filter-select {
  padding: 2px 40px 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 500;
  background: white;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
}

.filter-select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Template Preview Trigger */
.template-preview-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  padding: 8px 15px;
  background: #f0f0f0;
  border-radius: 8px;
  font-size: 13px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}

.template-preview-trigger:hover {
  background: #667eea;
  color: white;
  transform: translateX(5px);
}

.template-preview-trigger i {
  font-size: 14px;
}

/* Template Preview Tooltip */
.template-card {
  position: relative;
}

.template-preview-tooltip {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  z-index: 100;
  margin-top: 10px;
  padding: 0;
  display: none;
  border: 2px solid #667eea;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.preview-header {
  padding: 15px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 10px 10px 0 0;
}

.preview-header strong {
  font-size: 16px;
  font-weight: 600;
}

.close-preview {
  cursor: pointer;
  font-size: 18px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.close-preview:hover {
  opacity: 1;
}

.preview-content {
  padding: 20px;
}

.preview-label {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  font-weight: 600;
}

.preview-text {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* Preview Modal Styles */
.preview-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.preview-template-title {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.preview-template-title strong {
  font-size: 22px;
  color: #333;
  font-weight: 700;
}

.preview-template-content {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-top: 15px;
}

/* No Results Message */
.no-results-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.no-results-message .empty-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.no-results-message .empty-icon i {
  font-size: 50px;
  color: #999;
}

.no-results-message h3 {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.no-results-message p {
  font-size: 16px;
  color: #666;
  margin: 0;
}

/* Templates Grid */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

/* Template Card */
.template-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.template-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: #667eea;
}

.template-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 1px solid #e0e0e0;
}

.template-id-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  font-size: 14px;
  font-weight: 600;
}

.template-id-badge i {
  color: #667eea;
}

.template-status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.template-status-badge.status-active {
  background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
  color: #155724;
}

.template-status-badge.status-inactive {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  color: #856404;
}

.template-status-badge i {
  font-size: 8px;
}

.template-card-body {
  padding: 20px;
}

.template-title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
  line-height: 1.4;
}

.template-description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.template-card-footer {
  padding: 15px 20px;
  background: #f8f9fa;
  border-top: 1px solid #e0e0e0;
}

.template-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.action-btn {
  flex: 1;
  min-width: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.action-btn.edit-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.action-btn.edit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  color: white;
  text-decoration: none;
}

.action-btn.status-btn.status-active {
  background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
  color: #155724;
}

.action-btn.status-btn.status-inactive {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  color: #856404;
}

.action-btn.status-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.action-btn.delete-btn {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
  color: #721c24;
}

.action-btn.delete-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 154, 158, 0.4);
  color: #721c24;
  text-decoration: none;
}

.action-btn i {
  font-size: 14px;
}

/* Empty State */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.empty-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
}

.empty-icon i {
  font-size: 60px;
  color: white;
}

.empty-state h3 {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.empty-state p {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
}

/* Modern Modal Styles */
.modern-modal {
  border-radius: 16px;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modern-modal-header {
  padding: 25px 30px;
  border-bottom: 2px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
}

.modern-modal-header .modal-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
}

.modern-modal-header .delete-icon {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.modern-modal-header .status-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.modern-modal-header .modal-title {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin: 0;
  flex: 1;
}

.modern-modal-header .close {
  font-size: 28px;
  font-weight: 300;
  opacity: 0.5;
  margin: 0;
  padding: 0;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
}

.modern-modal-header .close:hover {
  opacity: 1;
}

.modern-modal-body {
  padding: 30px;
}

.modern-modal-body p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.template-preview {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-top: 15px;
}

.template-preview .template-name {
  color: #333;
  font-size: 16px;
}

.modern-modal-footer {
  padding: 20px 30px;
  border-top: 2px solid #f0f0f0;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.btn-modern {
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-cancel {
  background: #f0f0f0;
  color: #666;
}

.btn-cancel:hover {
  background: #e0e0e0;
  color: #333;
}

.btn-primary-modern {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-primary-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  color: white;
}

.btn-danger-modern {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
  color: #721c24;
}

.btn-danger-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 154, 158, 0.4);
  color: #721c24;
}

/* Responsive Design */
@media (max-width: 768px) {
  .templates-page-header {
    padding: 40px 15px;
  }

  .templates-page-header .page-title {
    font-size: 28px;
  }

  .templates-page-header .page-subtitle {
    font-size: 16px;
  }

  .templates-page-header .header-badges {
    flex-direction: column;
    gap: 10px;
  }

  .templates-stats {
    grid-template-columns: 1fr;
  }

  .templates-action-bar {
    flex-direction: column;
    gap: 15px;
  }

  .action-bar-left {
    width: 100%;
    flex-direction: column;
  }

  .search-box-wrapper {
    max-width: 100%;
    width: 100%;
  }

  .filter-wrapper {
    width: 100%;
  }

  .filter-select {
    width: 100%;
  }

  .templates-grid {
    grid-template-columns: 1fr;
  }

  .template-actions {
    flex-direction: column;
  }

  .action-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .templates-page-header .header-icon-wrapper {
    width: 60px;
    height: 60px;
  }

  .templates-page-header .header-icon-wrapper i {
    font-size: 30px;
  }

  .modern-modal-header,
  .modern-modal-body,
  .modern-modal-footer {
    padding: 20px;
  }
}

/* ============================================
   Modern Sidebar - Clean & Efficient Design
   ============================================ */

.modern-sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 274px;
  background: linear-gradient(180deg, #f8f7f9 0%, #f0eff2 100%);
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.06), 0 0 1px rgba(0, 0, 0, 0.04);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  overflow: hidden;
}

.modern-sidebar.collapsed {
  width: 64px;
}

.modern-sidebar.collapsed .sidebar-logo img,
.modern-sidebar.collapsed .nav-link span,
.modern-sidebar.collapsed .sidebar-search,
.modern-sidebar.collapsed .sidebar-footer,
.modern-sidebar.collapsed .submenu-icon,
.modern-sidebar.collapsed .badge-new {
  opacity: 0;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Sidebar Header */
.sidebar-header {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.sidebar-logo {
  flex: 1;
  min-width: 0;
}

.sidebar-logo img {
  max-width: 100%;
  max-height: 38px;
  height: auto;
  object-fit: contain;
}

.sidebar-toggle {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #4a4a4c;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.sidebar-toggle:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(0, 0, 0, 0.12);
  color: #2d2b2e;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transform: scale(1.02);
}

.sidebar-toggle i {
  font-size: 13px;
}

/* Sidebar Search */
.sidebar-search {
  padding: 12px 14px;
  position: relative;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.sidebar-search i {
  position: absolute;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  color: #8e8c91;
  font-size: 13px;
  z-index: 2;
  transition: color 0.2s ease;
}

.sidebar-search input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  padding-right: 34px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  color: #2d2b2e;
  font-size: 14px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.sidebar-search input::placeholder {
  color: #9e9ca1;
  font-size: 15px;
}

.sidebar-search input:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12), inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.sidebar-search:focus-within i {
  color: #6366f1;
}

.search-shortcut {
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.06);
  padding: 3px 7px;
  border-radius: 6px;
  font-size: 11px;
  color: #8e8c91;
  font-weight: 500;
  pointer-events: none;
}

.sidebar-search input:focus + .search-shortcut,
.sidebar-search input:not(:placeholder-shown) + .search-shortcut {
  opacity: 0;
}

/* Quick Actions */
.quick-actions {
  padding: 12px 14px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.quick-actions-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #6b6a6e;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.quick-actions-header i {
  font-size: 12px;
  color: #8e8c91;
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.quick-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  color: #4a4a4c;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.quick-action-btn i {
  font-size: 17px;
  margin-bottom: 4px;
  color: #6366f1;
  transition: transform 0.2s ease, color 0.2s ease;
}

.quick-action-btn span {
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}

.quick-action-btn:hover {
  background: #fff;
  border-color: rgba(99, 102, 241, 0.25);
  color: #4a4a4c;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.quick-action-btn:hover i {
  color: #4f46e5;
  transform: scale(1.08);
}

.modern-sidebar.collapsed .quick-actions {
  padding: 8px 8px;
}

.modern-sidebar.collapsed .quick-actions-header span,
.modern-sidebar.collapsed .quick-action-btn span {
  display: none;
}

.modern-sidebar.collapsed .quick-actions-grid {
  grid-template-columns: 1fr;
  gap: 4px;
}

.modern-sidebar.collapsed .quick-action-btn {
  padding: 8px;
}

/* No Search Results */
.no-search-results {
  padding: 24px 14px;
  text-align: center;
  color: #8e8c91;
}

.no-search-results i {
  font-size: 28px;
  margin-bottom: 8px;
  opacity: 0.5;
}

.no-search-results p {
  font-size: 13px;
  margin: 0;
}

/* Sidebar Navigation */
.sidebar-nav {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overflow-anchor: none;
  padding: 10px 12px;
}

.sidebar-nav::-webkit-scrollbar {
  width: 6px;
}

.sidebar-nav::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.18);
}

.nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-item {
  margin: 3px 0;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  color: #4a4a4c;
  text-decoration: none;
  position: relative;
  font-size: 15px;
  font-weight: 500;
  border-radius: 10px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: #6366f1;
  border-radius: 0 4px 4px 0;
  transition: height 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link i {
  width: 22px;
  min-width: 22px;
  margin-right: 12px;
  font-size: 16px;
  text-align: center;
  color: #6b6a6e;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link span {
  flex: 1;
}

.nav-link:hover {
  background: rgba(99, 102, 241, 0.08);
  color: #2d2b2e;
}

.nav-link:hover i {
  color: #6366f1;
}

.nav-link:focus {
  outline: none;
}

.nav-link:focus-visible {
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.35);
}

.nav-link.active {
  background: rgba(99, 102, 241, 0.1);
  color: #4f46e5;
  font-weight: 600;
}

.nav-link.active::before {
  height: 24px;
}

.nav-link.active i {
  color: #4f46e5;
}

/* Submenu Icon */
.submenu-icon {
  font-size: 11px;
  margin-left: auto;
  color: #8e8c91;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s;
}

.submenu-icon.rotated {
  transform: rotate(180deg);
  color: #6366f1;
}

/* Submenu */
.submenu {
  list-style: none;
  padding: 6px 0 8px 0;
  margin: 0 0 0 16px;
  border-left: 2px solid rgba(99, 102, 241, 0.2);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.submenu.show,
.submenu.in {
  max-height: 600px;
}

.submenu li {
  margin: 2px 0;
}

.submenu a {
  display: flex;
  align-items: center;
  padding: 8px 12px 8px 16px;
  color: #5a5860;
  text-decoration: none;
  font-size: 14px;
  border-radius: 8px;
  margin: 0 8px 0 6px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.submenu a i {
  width: 18px;
  min-width: 18px;
  margin-right: 10px;
  font-size: 13px;
  color: #8e8c91;
  transition: color 0.2s ease;
}

.submenu a:hover {
  background: rgba(99, 102, 241, 0.06);
  color: #4a4a4c;
}

.submenu a:hover i {
  color: #6366f1;
}

/* Badge New */
.badge-new {
  display: inline-block;
  background: #6366f1;
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Logout Item */
.logout-item {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.logout-link {
  background: rgba(239, 68, 68, 0.08);
  color: #dc2626;
  border-radius: 10px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.logout-link:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}

/* Sidebar Footer */
.sidebar-footer {
  padding: 14px 16px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-text {
  color: #6b6a6e;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 10px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #4a4a4c;
  text-decoration: none;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-contact:hover {
  background: rgba(99, 102, 241, 0.06);
  color: #4f46e5;
}

.footer-contact i {
  font-size: 12px;
  opacity: 0.9;
}

/* Hide items based on permissions */
.nav-item.hide {
  display: none;
}

/* Menu Category Separator */
.nav-item.category-separator {
  padding: 14px 14px 8px;
  margin-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-item.category-separator:first-child {
  border-top: none;
  padding-top: 6px;
}

.category-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #8e8c91;
  font-weight: 600;
  margin: 0;
}

/* Loading state for submenus */
.submenu.loading {
  position: relative;
}

.submenu.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border: 2px solid rgba(99, 102, 241, 0.2);
  border-top-color: #6366f1;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Tooltip for collapsed sidebar */
.modern-sidebar.collapsed .nav-link {
  position: relative;
}

.modern-sidebar.collapsed .nav-link::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 18px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.98);
  color: #2d2b2e;
  font-size: 14px;
  white-space: nowrap;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.modern-sidebar.collapsed .nav-link::before {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 12px;
  border: 6px solid transparent;
  border-right-color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1001;
}

.modern-sidebar.collapsed .nav-link:hover::after,
.modern-sidebar.collapsed .nav-link:hover::before {
  opacity: 1;
}

/* Minimal transitions */
.nav-link,
.submenu a,
.quick-action-btn {
  transition: background 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
}

.sidebar-toggle:hover {
  background: rgba(0, 0, 0, 0.1);
}

/* Better scrollbar for mobile */
@media (max-width: 768px) {
  .sidebar-nav::-webkit-scrollbar {
    width: 4px;
  }
}

/* Focus visible for accessibility */
.nav-link:focus-visible,
.quick-action-btn:focus-visible,
.sidebar-toggle:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .modern-sidebar {
    transform: translateX(-100%);
  }

  .modern-sidebar.show {
    transform: translateX(0);
  }

  .modern-sidebar.collapsed {
    width: 240px;
  }
}

/* ============================================
   Modern Dashboard Design
   ============================================ */

.modern-dashboard {
  padding: 30px;
  background: #f8f9fa;
  min-height: calc(100vh - 250px);
}

/* Dashboard Daily SMS Chart Card */
.dashboard-chart-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 24px;
  overflow: hidden;
}

.dashboard-chart-card .chart-card-header {
  padding: 20px 25px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 1px solid #e9ecef;
}

.dashboard-chart-card .chart-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dashboard-chart-card .chart-card-title i {
  font-size: 24px;
  color: #667eea;
}

.dashboard-chart-card .chart-card-title h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
}

.dashboard-chart-card .chart-card-subtitle {
  font-size: 13px;
  color: #6b7280;
  margin: 8px 0 0 0;
}

.dashboard-chart-card .chart-card-body {
  padding: 24px;
  min-height: 220px;
}

.dashboard-chart-card #dailySmsChart {
  max-height: 220px;
}

/* Dashboard Header */
.dashboard-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 24px;
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
  position: relative;
  overflow: hidden;
}

.dashboard-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.dashboard-header-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.dashboard-title {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.dashboard-title i {
  font-size: 20px;
  opacity: 0.9;
}

.dashboard-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  font-weight: 400;
}

.quick-stats-mini {
  display: flex;
  align-items: center;
  gap: 15px;
}

.mini-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  color: white;
  font-size: 12px;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.mini-stat i {
  font-size: 14px;
}

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

/* Dashboard Card */
.dashboard-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 2px solid transparent;
}

.dashboard-card.hide {
  display: none;
}

.dashboard-card-link {
  display: block;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 150px;
  display: flex;
  flex-direction: column;
}

.dashboard-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: transparent;
}

.dashboard-card:hover .card-arrow {
  transform: translateX(10px);
  opacity: 1;
}

.dashboard-card:hover .card-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

.dashboard-card:hover .card-hover-effect {
  opacity: 1;
}

/* Card Icon Wrapper */
.card-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}

.card-icon-wrapper i {
  font-size: 24px;
  color: white;
  z-index: 2;
}

/* Card Color Variants */
.card-primary .card-icon-wrapper {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.card-info .card-icon-wrapper {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
}

.card-success .card-icon-wrapper {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  box-shadow: 0 8px 25px rgba(67, 233, 123, 0.4);
}

.card-warning .card-icon-wrapper {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  box-shadow: 0 8px 25px rgba(250, 112, 154, 0.4);
}

.card-purple .card-icon-wrapper {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  box-shadow: 0 8px 25px rgba(168, 237, 234, 0.4);
}

.card-teal .card-icon-wrapper {
  background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
  box-shadow: 0 8px 25px rgba(48, 207, 208, 0.4);
}

.card-orange .card-icon-wrapper {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  box-shadow: 0 8px 25px rgba(240, 147, 251, 0.4);
}

.card-pink .card-icon-wrapper {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
  box-shadow: 0 8px 25px rgba(255, 154, 158, 0.4);
}

.card-indigo .card-icon-wrapper {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Card Content */
.card-content {
  flex: 1;
  margin-bottom: 15px;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: #212529;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.card-description {
  font-size: 12px;
  color: #6c757d;
  line-height: 1.5;
  margin: 0;
}

/* Card Arrow */
.card-arrow {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #667eea;
  font-size: 12px;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.card-arrow i {
  transition: transform 0.3s ease;
}

.dashboard-card:hover .card-arrow i {
  transform: translateX(3px);
}

/* Card Badge */
.card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  z-index: 3;
}

/* Card Hover Effect */
.card-hover-effect {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

/* Card Background Patterns */
.card-primary::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.card-info::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(79, 172, 254, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.card-success::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(67, 233, 123, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Animation for cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dashboard-card {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.dashboard-card:nth-child(1) { animation-delay: 0.1s; }
.dashboard-card:nth-child(2) { animation-delay: 0.2s; }
.dashboard-card:nth-child(3) { animation-delay: 0.3s; }
.dashboard-card:nth-child(4) { animation-delay: 0.4s; }
.dashboard-card:nth-child(5) { animation-delay: 0.5s; }
.dashboard-card:nth-child(6) { animation-delay: 0.6s; }
.dashboard-card:nth-child(7) { animation-delay: 0.7s; }
.dashboard-card:nth-child(8) { animation-delay: 0.8s; }
.dashboard-card:nth-child(9) { animation-delay: 0.9s; }

/* Responsive Design */
@media (max-width: 1200px) {
  .dashboard-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }
  
  .dashboard-header {
    padding: 30px;
  }
  
  .dashboard-title {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .modern-dashboard {
    padding: 20px 15px;
  }
  
  .dashboard-chart-card .chart-card-body {
    padding: 16px;
  }
  
  .dashboard-chart-card #dailySmsChart {
    max-height: 180px;
  }
  
  .dashboard-header {
    padding: 25px 20px;
    border-radius: 16px;
  }
  
  .dashboard-header-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .dashboard-title {
    font-size: 20px;
  }
  
  .dashboard-subtitle {
    font-size: 13px;
  }
  
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .dashboard-card-link {
    padding: 20px;
    min-height: 140px;
  }
  
  .card-icon-wrapper {
    width: 50px;
    height: 50px;
  }
  
  .card-icon-wrapper i {
    font-size: 24px;
  }
  
  .card-title {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .dashboard-header {
    padding: 16px 12px;
  }
  
  .dashboard-title {
    font-size: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .dashboard-title i {
    font-size: 20px;
  }
  
  .card-icon-wrapper {
    width: 44px;
    height: 44px;
  }
  
  .card-icon-wrapper i {
    font-size: 20px;
  }
  
  .card-title {
    font-size: 14px;
  }
  
  .card-description {
    font-size: 11px;
  }
}

/* ============================================
   Scheduled Messages Page Styles
   ============================================ */

.scheduled-messages-page {
  padding: 0;
  background: #f8f9fa;
  min-height: calc(100vh - 250px);
}


/* Scheduled page header - matches send-message-k style */
.scheduled-page-header.sms-page-header {
  position: relative;
  background: transparent;
  padding: 0;
  margin-bottom: 24px;
  overflow: hidden;
}

.scheduled-page-header.sms-page-header .header-background-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.04) 0%, transparent 50%);
  opacity: 1;
}

.scheduled-page-header.sms-page-header .header-content {
  position: relative;
  z-index: 2;
  padding: 10px 5px;
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  text-align: left;
}

.scheduled-page-header.sms-page-header .header-icon-wrapper {
  flex-shrink: 0;
  margin: 0;
}

.scheduled-page-header.sms-page-header .icon-circle {
  width: 72px;
  height: 72px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(99, 102, 241, 0.2);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.scheduled-page-header.sms-page-header .icon-circle i {
  font-size: 32px;
  color: #6366f1;
}

.scheduled-page-header.sms-page-header .header-text-content {
  flex: 1;
  min-width: 0;
}

.scheduled-page-header.sms-page-header .header-content h1 {
  margin: 0 0 8px 0;
  font-size: 28px !important;
  font-weight: 700;
  color: #2d2b2e;
}

.scheduled-page-header.sms-page-header .header-subtitle {
  margin: 0 0 16px 0;
  font-size: 15px;
  color: #6b6a6e;
  line-height: 1.5;
}

.scheduled-page-header.sms-page-header .header-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-left: auto;
  flex-shrink: 0;
  align-self: center;
}

.scheduled-page-header.sms-page-header .stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 13px;
  font-weight: 500;
  color: #4a4a4c;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.scheduled-page-header.sms-page-header .stat-item i {
  font-size: 14px;
  color: #6366f1;
}

.scheduled-page-header.sms-page-header .header-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.scheduled-page-header.sms-page-header .decoration-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.05);
}

.scheduled-page-header.sms-page-header .circle-1 {
  width: 120px;
  height: 120px;
  top: -40px;
  right: -40px;
}

.scheduled-page-header.sms-page-header .circle-2 {
  width: 80px;
  height: 80px;
  bottom: -20px;
  left: 30%;
}

.scheduled-page-header.sms-page-header .circle-3 {
  width: 60px;
  height: 60px;
  top: 50%;
  right: 15%;
  transform: translateY(-50%);
}

/* Fallback for scheduled-page-header without sms-page-header (legacy) */
.scheduled-page-header:not(.sms-page-header) {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 28px 20px;
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ============================================
   Shared Page Header - matches send-message-k
   Use: sms-page-header class + icon-circle, header-text-content, header-stats structure
   ============================================ */
.sms-page-header {
  position: relative;
  background: transparent;
  padding: 0;
  margin-bottom: 24px;
  overflow: hidden;
}

.sms-page-header .header-background-pattern,
.dynamic-sms-page .sms-page-header .header-background-pattern,
.groups-page-header.sms-page-header .header-background-pattern,
.contacts-page-header.sms-page-header .header-background-pattern,
.templates-page-header.sms-page-header .header-background-pattern,
.portable-page-header.sms-page-header .header-background-pattern,
.log-message-header.sms-page-header .header-background-pattern,
.list-page-header.sms-page-header .header-background-pattern,
.form-page-header.sms-page-header .header-background-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.groups-page-header.sms-page-header,
.contacts-page-header.sms-page-header,
.templates-page-header.sms-page-header,
.portable-page-header.sms-page-header,
.log-message-header.sms-page-header,
.monthwise-log-header.sms-page-header,
.monthly-sms-rpt-header.sms-page-header,
.campaigns-logs-header.sms-page-header,
.call-campaign-header.sms-page-header,
.add-template-header.sms-page-header,
.graphical-repr-header.sms-page-header,
.url-repr-header.sms-page-header,
.add-contact-header.sms-page-header,
.add-contact-bulk-page .add-bulk-header.sms-page-header,
.list-page-header.sms-page-header,
.form-page-header.sms-page-header,
.masking-header.sms-page-header,
.block-contacts-header.sms-page-header,
.support-tickets-header.sms-page-header,
.my-transactions-header.sms-page-header,
.subusers-header.sms-page-header,
.customers-header.sms-page-header,
.audio-list-header.sms-page-header,
.request-masking-header.sms-page-header,
.request-audio-header.sms-page-header,
.campaign-log-header.sms-page-header,
.dynamic-sms-page .sms-page-header {
  position: relative;
  background: transparent !important;
  padding: 0 !important;
  margin-bottom: 24px;
  overflow: hidden;
}

.sms-page-header .header-content,
.dynamic-sms-page .sms-page-header .header-content,
.groups-page-header.sms-page-header .header-content,
.contacts-page-header.sms-page-header .header-content,
.templates-page-header.sms-page-header .header-content,
.portable-page-header.sms-page-header .header-content,
.log-message-header.sms-page-header .header-content,
.monthwise-log-header.sms-page-header .header-content,
.monthly-sms-rpt-header.sms-page-header .header-content,
.campaigns-logs-header.sms-page-header .header-content,
.add-contact-header.sms-page-header .header-content,
.add-contact-bulk-page .add-bulk-header.sms-page-header .header-content,
.list-page-header.sms-page-header .header-content,
.form-page-header.sms-page-header .header-content,
.masking-header.sms-page-header .header-content,
.block-contacts-header.sms-page-header .header-content,
.support-tickets-header.sms-page-header .header-content {
  position: relative;
  z-index: 2;
  padding: 10px 5px;
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  text-align: left !important;
}

.sms-page-header .header-icon-wrapper,
.dynamic-sms-page .sms-page-header .header-icon-wrapper,
.groups-page-header.sms-page-header .header-icon-wrapper,
.contacts-page-header.sms-page-header .header-icon-wrapper,
.templates-page-header.sms-page-header .header-icon-wrapper,
.portable-page-header.sms-page-header .header-icon-wrapper,
.log-message-header.sms-page-header .header-icon-wrapper,
.monthwise-log-header.sms-page-header .header-icon-wrapper,
.add-contact-header.sms-page-header .header-icon-wrapper,
.add-contact-bulk-page .add-bulk-header.sms-page-header .header-icon-wrapper,
.list-page-header.sms-page-header .header-icon-wrapper,
.form-page-header.sms-page-header .header-icon-wrapper,
.masking-header.sms-page-header .header-icon-wrapper,
.block-contacts-header.sms-page-header .header-icon-wrapper,
.support-tickets-header.sms-page-header .header-icon-wrapper {
  flex-shrink: 0;
  margin: 0 !important;
}

.sms-page-header .icon-circle,
.dynamic-sms-page .sms-page-header .icon-circle,
.groups-page-header.sms-page-header .icon-circle,
.contacts-page-header.sms-page-header .icon-circle,
.templates-page-header.sms-page-header .icon-circle,
.portable-page-header.sms-page-header .icon-circle,
.log-message-header.sms-page-header .icon-circle,
.monthwise-log-header.sms-page-header .icon-circle,
.add-contact-header.sms-page-header .icon-circle,
.add-contact-bulk-page .add-bulk-header.sms-page-header .icon-circle,
.list-page-header.sms-page-header .icon-circle,
.form-page-header.sms-page-header .icon-circle,
.masking-header.sms-page-header .icon-circle,
.block-contacts-header.sms-page-header .icon-circle,
.support-tickets-header.sms-page-header .icon-circle {
  width: 72px;
  height: 72px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(99, 102, 241, 0.2);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.sms-page-header .icon-circle i,
.dynamic-sms-page .sms-page-header .icon-circle i,
.groups-page-header.sms-page-header .icon-circle i,
.contacts-page-header.sms-page-header .icon-circle i,
.templates-page-header.sms-page-header .icon-circle i,
.portable-page-header.sms-page-header .icon-circle i,
.log-message-header.sms-page-header .icon-circle i,
.monthwise-log-header.sms-page-header .icon-circle i,
.add-contact-header.sms-page-header .icon-circle i,
.add-contact-bulk-page .add-bulk-header.sms-page-header .icon-circle i,
.list-page-header.sms-page-header .icon-circle i,
.form-page-header.sms-page-header .icon-circle i,
.masking-header.sms-page-header .icon-circle i,
.block-contacts-header.sms-page-header .icon-circle i,
.support-tickets-header.sms-page-header .icon-circle i {
  font-size: 32px;
  color: #6366f1;
}

.sms-page-header .header-text-content,
.dynamic-sms-page .sms-page-header .header-text-content,
.groups-page-header.sms-page-header .header-text-content,
.contacts-page-header.sms-page-header .header-text-content,
.templates-page-header.sms-page-header .header-text-content,
.portable-page-header.sms-page-header .header-text-content,
.log-message-header.sms-page-header .header-text-content,
.monthwise-log-header.sms-page-header .header-text-content,
.add-contact-header.sms-page-header .header-text-content,
.add-contact-bulk-page .add-bulk-header.sms-page-header .header-text-content,
.list-page-header.sms-page-header .header-text-content,
.form-page-header.sms-page-header .header-text-content,
.masking-header.sms-page-header .header-text-content,
.block-contacts-header.sms-page-header .header-text-content,
.support-tickets-header.sms-page-header .header-text-content {
  flex: 1;
  min-width: 0;
}

.sms-page-header .header-content h1,
.dynamic-sms-page .sms-page-header .header-content h1,
.groups-page-header.sms-page-header .header-content h1,
.contacts-page-header.sms-page-header .header-content h1,
.templates-page-header.sms-page-header .header-content h1,
.portable-page-header.sms-page-header .header-content h1,
.log-message-header.sms-page-header .header-content h1,
.monthwise-log-header.sms-page-header .header-content h1,
.add-contact-header.sms-page-header .header-content h1,
.add-contact-bulk-page .add-bulk-header.sms-page-header .header-content h1,
.list-page-header.sms-page-header .header-content h1,
.form-page-header.sms-page-header .header-content h1,
.masking-header.sms-page-header .header-content h1,
.block-contacts-header.sms-page-header .header-content h1,
.support-tickets-header.sms-page-header .header-content h1 {
  margin: 0 0 8px 0 !important;
  font-size: 28px !important;
  font-weight: 700;
  color: #2d2b2e !important;
}

.sms-page-header .header-subtitle,
.dynamic-sms-page .sms-page-header .header-subtitle,
.groups-page-header.sms-page-header .header-subtitle,
.contacts-page-header.sms-page-header .header-subtitle,
.templates-page-header.sms-page-header .header-subtitle,
.portable-page-header.sms-page-header .header-subtitle,
.log-message-header.sms-page-header .header-subtitle,
.monthwise-log-header.sms-page-header .header-subtitle,
.add-contact-header.sms-page-header .header-subtitle,
.add-contact-bulk-page .add-bulk-header.sms-page-header .header-subtitle,
.list-page-header.sms-page-header .header-subtitle,
.form-page-header.sms-page-header .header-subtitle,
.masking-header.sms-page-header .header-subtitle,
.block-contacts-header.sms-page-header .header-subtitle,
.support-tickets-header.sms-page-header .header-subtitle {
  margin: 0 0 16px 0;
  font-size: 15px;
  color: #6b6a6e !important;
  line-height: 1.5;
}

.sms-page-header .header-stats,
.dynamic-sms-page .sms-page-header .header-stats,
.groups-page-header.sms-page-header .header-stats,
.contacts-page-header.sms-page-header .header-stats,
.templates-page-header.sms-page-header .header-stats,
.portable-page-header.sms-page-header .header-stats,
.log-message-header.sms-page-header .header-stats,
.monthwise-log-header.sms-page-header .header-stats,
.add-contact-header.sms-page-header .header-stats,
.add-contact-bulk-page .add-bulk-header.sms-page-header .header-stats,
.list-page-header.sms-page-header .header-stats,
.form-page-header.sms-page-header .header-stats,
.masking-header.sms-page-header .header-stats,
.block-contacts-header.sms-page-header .header-stats,
.support-tickets-header.sms-page-header .header-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-left: auto;
  flex-shrink: 0;
  align-self: center;
}

.sms-page-header .stat-item,
.dynamic-sms-page .sms-page-header .stat-item,
.groups-page-header.sms-page-header .stat-item,
.contacts-page-header.sms-page-header .stat-item,
.templates-page-header.sms-page-header .stat-item,
.portable-page-header.sms-page-header .stat-item,
.log-message-header.sms-page-header .stat-item,
.monthwise-log-header.sms-page-header .stat-item,
.add-contact-header.sms-page-header .stat-item,
.add-contact-bulk-page .add-bulk-header.sms-page-header .stat-item,
.list-page-header.sms-page-header .stat-item,
.form-page-header.sms-page-header .stat-item,
.masking-header.sms-page-header .stat-item,
.block-contacts-header.sms-page-header .stat-item,
.support-tickets-header.sms-page-header .stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 13px;
  font-weight: 500;
  color: #4a4a4c !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.sms-page-header .stat-item i,
.dynamic-sms-page .sms-page-header .stat-item i,
.groups-page-header.sms-page-header .stat-item i,
.contacts-page-header.sms-page-header .stat-item i,
.templates-page-header.sms-page-header .stat-item i,
.monthwise-log-header.sms-page-header .stat-item i,
.add-contact-header.sms-page-header .stat-item i,
.add-contact-bulk-page .add-bulk-header.sms-page-header .stat-item i,
.list-page-header.sms-page-header .stat-item i,
.form-page-header.sms-page-header .stat-item i,
.masking-header.sms-page-header .stat-item i,
.block-contacts-header.sms-page-header .stat-item i,
.support-tickets-header.sms-page-header .stat-item i {
  font-size: 14px;
  color: #6366f1 !important;
}

.sms-page-header .stat-item a,
.dynamic-sms-page .sms-page-header .stat-item a,
.groups-page-header.sms-page-header .stat-item a,
.contacts-page-header.sms-page-header .stat-item a,
.templates-page-header.sms-page-header .stat-item a,
.add-contact-header.sms-page-header .stat-item a,
.add-contact-bulk-page .add-bulk-header.sms-page-header .stat-item a,
.list-page-header.sms-page-header .stat-item a {
  color: inherit !important;
  text-decoration: none !important;
}

.sms-page-header .stat-item a:hover,
.dynamic-sms-page .sms-page-header .stat-item a:hover,
.groups-page-header.sms-page-header .stat-item a:hover,
.contacts-page-header.sms-page-header .stat-item a:hover,
.add-contact-header.sms-page-header .stat-item a:hover,
.add-contact-bulk-page .add-bulk-header.sms-page-header .stat-item a:hover,
.list-page-header.sms-page-header .stat-item a:hover {
  color: #4f46e5 !important;
}

/* Header decoration circles */
.sms-page-header .header-decoration,
.dynamic-sms-page .sms-page-header .header-decoration,
.groups-page-header.sms-page-header .header-decoration,

.contacts-page-header.sms-page-header .header-decoration,
.templates-page-header.sms-page-header .header-decoration,
.portable-page-header.sms-page-header .header-decoration,
.log-message-header.sms-page-header .header-decoration,
.monthwise-log-header.sms-page-header .header-decoration,
.add-contact-header.sms-page-header .header-decoration,
.add-contact-bulk-page .add-bulk-header.sms-page-header .header-decoration,
.list-page-header.sms-page-header .header-decoration,
.form-page-header.sms-page-header .header-decoration,
.masking-header.sms-page-header .header-decoration,
.block-contacts-header.sms-page-header .header-decoration,
.support-tickets-header.sms-page-header .header-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.sms-page-header .decoration-circle,
.dynamic-sms-page .sms-page-header .decoration-circle,
.groups-page-header.sms-page-header .decoration-circle,
.contacts-page-header.sms-page-header .decoration-circle,
.templates-page-header.sms-page-header .decoration-circle,
.portable-page-header.sms-page-header .decoration-circle,
.log-message-header.sms-page-header .decoration-circle,
.monthwise-log-header.sms-page-header .decoration-circle,
.add-contact-header.sms-page-header .decoration-circle,
.add-contact-bulk-page .add-bulk-header.sms-page-header .decoration-circle,
.list-page-header.sms-page-header .decoration-circle,
.form-page-header.sms-page-header .decoration-circle,
.masking-header.sms-page-header .decoration-circle,
.block-contacts-header.sms-page-header .decoration-circle,
.support-tickets-header.sms-page-header .decoration-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.05);
}

.sms-page-header .circle-1,
.dynamic-sms-page .sms-page-header .circle-1,
.groups-page-header.sms-page-header .circle-1,
.contacts-page-header.sms-page-header .circle-1,
.templates-page-header.sms-page-header .circle-1,
.portable-page-header.sms-page-header .circle-1,
.log-message-header.sms-page-header .circle-1,
.monthwise-log-header.sms-page-header .circle-1,
.add-contact-header.sms-page-header .circle-1,
.add-contact-bulk-page .add-bulk-header.sms-page-header .circle-1,
.list-page-header.sms-page-header .circle-1,
.form-page-header.sms-page-header .circle-1,
.masking-header.sms-page-header .circle-1,
.block-contacts-header.sms-page-header .circle-1,
.support-tickets-header.sms-page-header .circle-1 {
  width: 120px;
  height: 120px;
  top: -40px;
  right: -40px;
}

.sms-page-header .circle-2,
.dynamic-sms-page .sms-page-header .circle-2,
.groups-page-header.sms-page-header .circle-2,
.contacts-page-header.sms-page-header .circle-2,
.templates-page-header.sms-page-header .circle-2,
.portable-page-header.sms-page-header .circle-2,
.log-message-header.sms-page-header .circle-2,
.monthwise-log-header.sms-page-header .circle-2,
.add-contact-header.sms-page-header .circle-2,
.add-contact-bulk-page .add-bulk-header.sms-page-header .circle-2,
.list-page-header.sms-page-header .circle-2,
.form-page-header.sms-page-header .circle-2,
.masking-header.sms-page-header .circle-2,
.block-contacts-header.sms-page-header .circle-2,
.support-tickets-header.sms-page-header .circle-2 {
  width: 80px;
  height: 80px;
  bottom: -20px;
  left: 8%;
}

.sms-page-header .circle-3,
.dynamic-sms-page .sms-page-header .circle-3,
.groups-page-header.sms-page-header .circle-3,
.contacts-page-header.sms-page-header .circle-3,
.templates-page-header.sms-page-header .circle-3,
.portable-page-header.sms-page-header .circle-3,
.log-message-header.sms-page-header .circle-3,
.monthwise-log-header.sms-page-header .circle-3,
.add-contact-header.sms-page-header .circle-3,
.add-contact-bulk-page .add-bulk-header.sms-page-header .circle-3,
.list-page-header.sms-page-header .circle-3,
.form-page-header.sms-page-header .circle-3,
.masking-header.sms-page-header .circle-3,
.block-contacts-header.sms-page-header .circle-3,
.support-tickets-header.sms-page-header .circle-3 {
  width: 60px;
  height: 60px;
  top: 50%;
  right: 12%;
  transform: translateY(-50%);
}

/* Hide old header elements when using new structure */
.groups-page-header.sms-page-header .header-animated-circles,
.contacts-page-header.sms-page-header .header-animated-circles,
.templates-page-header.sms-page-header .header-animated-circles,
.portable-page-header.sms-page-header .header-animated-circles {
  display: none;
}

.scheduled-messages-page .filter-card-modern {
  background: white;
  border-radius: 16px;
  padding: 0;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.scheduled-messages-page .filter-card-header-modern {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 25px 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: white;
}

.scheduled-messages-page .filter-header-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.scheduled-messages-page .filter-header-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 5px 0;
}

.scheduled-messages-page .filter-header-content p {
  font-size: 14px;
  opacity: 0.9;
  margin: 0;
}

.scheduled-messages-page .filter-card-body-modern {
  padding: 30px;
}

.scheduled-messages-page .filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 25px;
}

.scheduled-messages-page .filter-group-modern {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scheduled-messages-page .filter-label-modern {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.scheduled-messages-page .filter-label-modern i {
  color: #667eea;
  font-size: 16px;
}

.scheduled-messages-page .date-input-wrapper-modern,
.scheduled-messages-page .select-wrapper-modern {
  position: relative;
}

.scheduled-messages-page .date-input-modern,
.scheduled-messages-page .select-modern {
  width: 100%;
  /*padding: 12px 40px 12px 15px;*/
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: white;
  color: #333;
}

.scheduled-messages-page .date-input-modern:focus,
.scheduled-messages-page .select-modern:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.scheduled-messages-page .date-icon-modern {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
}

.scheduled-messages-page .select-modern {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}

.scheduled-messages-page .select-arrow {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
  font-size: 12px;
}

.scheduled-messages-page .filter-actions-modern {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.scheduled-messages-page .btn-filter-search-modern,
.scheduled-messages-page .btn-filter-reset-modern {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.scheduled-messages-page .btn-filter-search-modern {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.scheduled-messages-page .btn-filter-search-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.scheduled-messages-page .btn-filter-reset-modern {
  background: #f0f0f0;
  color: #666;
}

.scheduled-messages-page .btn-filter-reset-modern:hover {
  background: #e0e0e0;
  color: #333;
  text-decoration: none;
}

.scheduled-messages-page .scheduled-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.scheduled-messages-page .scheduled-card-modern {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.scheduled-messages-page .scheduled-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border-color: #667eea;
}

.scheduled-messages-page .scheduled-card-header-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 2px solid #e0e0e0;
}

.scheduled-messages-page .campaign-badge-modern {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  font-size: 14px;
  font-weight: 600;
}

.scheduled-messages-page .campaign-badge-modern i {
  color: #667eea;
}

.scheduled-messages-page .status-badge-modern {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.scheduled-messages-page .status-badge-modern.status-pending {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  color: #856404;
}

.scheduled-messages-page .status-badge-modern.status-completed {
  background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
  color: #155724;
}

.scheduled-messages-page .status-badge-modern.status-cancelled {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
  color: #721c24;
}

.scheduled-messages-page .status-badge-modern i {
  font-size: 8px;
}

.scheduled-messages-page .scheduled-card-body-modern {
  padding: 25px;
}

.scheduled-messages-page .message-preview-modern {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
}

.scheduled-messages-page .message-label-modern {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.scheduled-messages-page .message-label-modern i {
  color: #667eea;
}

.scheduled-messages-page .message-text-wrapper {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 10px;
  border-left: 4px solid #667eea;
}

.scheduled-messages-page .message-text-modern {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  margin: 0;
  word-wrap: break-word;
}

.scheduled-messages-page .scheduled-stats-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.scheduled-messages-page .stat-item-modern {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.scheduled-messages-page .stat-item-modern:hover {
  background: #e9ecef;
  transform: translateY(-2px);
}

.scheduled-messages-page .stat-icon-modern {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}

.scheduled-messages-page .stat-icon-modern.stat-messages {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.scheduled-messages-page .stat-icon-modern.stat-contacts {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.scheduled-messages-page .stat-icon-modern.stat-language {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.scheduled-messages-page .stat-info-modern {
  flex: 1;
  min-width: 0;
}

.scheduled-messages-page .stat-value-modern {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  line-height: 1.2;
}

.scheduled-messages-page .stat-label-modern {
  font-size: 11px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.scheduled-messages-page .schedule-info-modern {
  display: flex;
  gap: 15px;
  padding: 15px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
  border-radius: 10px;
}

.scheduled-messages-page .schedule-date-modern,
.scheduled-messages-page .schedule-time-modern {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.scheduled-messages-page .schedule-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}

.scheduled-messages-page .schedule-details {
  flex: 1;
  min-width: 0;
}

.scheduled-messages-page .schedule-label {
  font-size: 11px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.scheduled-messages-page .schedule-value {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.scheduled-messages-page .scheduled-card-footer-modern {
  padding: 20px;
  background: #f8f9fa;
  border-top: 2px solid #e0e0e0;
}

.scheduled-messages-page .card-actions-modern {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.scheduled-messages-page .action-btn-modern {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.scheduled-messages-page .action-btn-modern.edit-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.scheduled-messages-page .action-btn-modern.edit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  color: white;
  text-decoration: none;
}

.scheduled-messages-page .action-btn-modern.delete-btn {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
  color: #721c24;
}

.scheduled-messages-page .action-btn-modern.delete-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 154, 158, 0.4);
  color: #721c24;
  text-decoration: none;
}

.scheduled-messages-page .action-btn-modern.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.scheduled-messages-page .empty-scheduled-state-modern {
  text-align: center;
  padding: 80px 20px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.scheduled-messages-page .empty-icon-wrapper {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 30px;
}

.scheduled-messages-page .empty-icon-modern {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
  position: relative;
  z-index: 2;
}

.scheduled-messages-page .empty-icon-modern i {
  font-size: 70px;
  color: white;
}

.scheduled-messages-page .empty-icon-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  opacity: 0.3;
  animation: scheduled-pulse 2s ease-in-out infinite;
}

@keyframes scheduled-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2);
    opacity: 0;
  }
}

.scheduled-messages-page .empty-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.scheduled-messages-page .empty-description {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.scheduled-messages-page .btn-schedule-now-modern {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.scheduled-messages-page .btn-schedule-now-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  color: white;
  text-decoration: none;
}

.scheduled-messages-page .btn-schedule-now-modern i {
  font-size: 14px;
}

.scheduled-messages-page .modal-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  margin-right: 15px;
}

.scheduled-messages-page .modal-icon-wrapper.delete-icon {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.scheduled-messages-page .modal-icon-wrapper.info-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.scheduled-messages-page .modal-message {
  font-size: 16px;
  color: #333;
  margin-bottom: 15px;
}

.scheduled-messages-page .modal-submessage {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.scheduled-messages-page .campaign-id-display {
  color: #667eea;
  font-weight: 600;
}

.scheduled-messages-page .modal-warning {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  border-radius: 8px;
  color: #856404;
  font-size: 14px;
}

.scheduled-messages-page .modal-warning i {
  font-size: 18px;
}

.scheduled-messages-page .btn-modal-cancel,
.scheduled-messages-page .btn-modal-delete,
.scheduled-messages-page .btn-modal-submit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 12px;
}

.scheduled-messages-page .btn-modal-cancel {
  background: #f0f0f0;
  color: #666;
}

.scheduled-messages-page .btn-modal-cancel:hover {
  background: #e0e0e0;
  color: #333;
}

.scheduled-messages-page .btn-modal-delete {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
  color: #721c24;
}

.scheduled-messages-page .btn-modal-delete:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 154, 158, 0.4);
  color: #721c24;
}

.scheduled-messages-page .btn-modal-submit {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.scheduled-messages-page .btn-modal-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  color: white;
}

#confirm-delete .modal-icon-wrapper,
#confirm-active .modal-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  flex-shrink: 0;
}

#confirm-delete .modal-icon-wrapper.delete-icon {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

#confirm-active .modal-icon-wrapper.info-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

#confirm-delete .campaign-id-display {
  color: #667eea;
  font-weight: 600;
}

#confirm-delete .modal-warning {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  border-radius: 8px;
  color: #856404;
  font-size: 14px;
}

#confirm-delete .btn-modal-cancel,
#confirm-delete .btn-modal-delete,
#confirm-active .btn-modal-cancel,
#confirm-active .btn-modal-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

#confirm-delete .btn-modal-delete {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
  color: #721c24;
}

#confirm-delete .btn-modal-delete:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 154, 158, 0.4);
  color: #721c24;
}

@media (max-width: 1200px) {
  .scheduled-messages-page .scheduled-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
  }
  .scheduled-messages-page .filter-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .scheduled-page-header.sms-page-header .header-content,
  .groups-page-header.sms-page-header .header-content,
  .contacts-page-header.sms-page-header .header-content,
  .templates-page-header.sms-page-header .header-content,
  .log-message-header.sms-page-header .header-content,
  .monthwise-log-header.sms-page-header .header-content,
  .add-contact-header.sms-page-header .header-content,
  .add-contact-bulk-page .add-bulk-header.sms-page-header .header-content,
  .list-page-header.sms-page-header .header-content,
  .form-page-header.sms-page-header .header-content,
  .masking-header.sms-page-header .header-content,
  .block-contacts-header.sms-page-header .header-content,
  .support-tickets-header.sms-page-header .header-content {
    flex-direction: column;
    padding: 28px 20px;
    text-align: center;
    gap: 16px;
  }
  .scheduled-page-header.sms-page-header .header-stats,
  .groups-page-header.sms-page-header .header-stats,
  .contacts-page-header.sms-page-header .header-stats,
  .templates-page-header.sms-page-header .header-stats,
  .log-message-header.sms-page-header .header-stats,
  .monthwise-log-header.sms-page-header .header-stats,
  .add-contact-header.sms-page-header .header-stats,
  .add-contact-bulk-page .add-bulk-header.sms-page-header .header-stats,
  .list-page-header.sms-page-header .header-stats,
  .form-page-header.sms-page-header .header-stats,
  .masking-header.sms-page-header .header-stats,
  .block-contacts-header.sms-page-header .header-stats,
  .support-tickets-header.sms-page-header .header-stats {
    margin-left: 0;
    justify-content: center;
  }
  .scheduled-page-header.sms-page-header .header-content h1,
  .groups-page-header.sms-page-header .header-content h1,
  .contacts-page-header.sms-page-header .header-content h1,
  .templates-page-header.sms-page-header .header-content h1,
  .log-message-header.sms-page-header .header-content h1,
  .monthwise-log-header.sms-page-header .header-content h1,
  .add-contact-header.sms-page-header .header-content h1,
  .add-contact-bulk-page .add-bulk-header.sms-page-header .header-content h1,
  .list-page-header.sms-page-header .header-content h1,
  .form-page-header.sms-page-header .header-content h1,
  .masking-header.sms-page-header .header-content h1,
  .block-contacts-header.sms-page-header .header-content h1,
  .support-tickets-header.sms-page-header .header-content h1 {
    font-size: 24px !important;
  }
  .scheduled-page-header.sms-page-header .icon-circle,
  .groups-page-header.sms-page-header .icon-circle,
  .contacts-page-header.sms-page-header .icon-circle,
  .templates-page-header.sms-page-header .icon-circle,
  .log-message-header.sms-page-header .icon-circle,
  .monthwise-log-header.sms-page-header .icon-circle,
  .add-contact-header.sms-page-header .icon-circle,
  .add-contact-bulk-page .add-bulk-header.sms-page-header .icon-circle,
  .list-page-header.sms-page-header .icon-circle,
  .form-page-header.sms-page-header .icon-circle,
  .masking-header.sms-page-header .icon-circle,
  .block-contacts-header.sms-page-header .icon-circle,
  .support-tickets-header.sms-page-header .icon-circle {
    width: 72px;
    height: 72px;
  }
  .scheduled-page-header.sms-page-header .icon-circle i,
  .groups-page-header.sms-page-header .icon-circle i,
  .contacts-page-header.sms-page-header .icon-circle i,
  .templates-page-header.sms-page-header .icon-circle i,
  .log-message-header.sms-page-header .icon-circle i,
  .monthwise-log-header.sms-page-header .icon-circle i,
  .add-contact-header.sms-page-header .icon-circle i,
  .add-contact-bulk-page .add-bulk-header.sms-page-header .icon-circle i,
  .list-page-header.sms-page-header .icon-circle i,
  .form-page-header.sms-page-header .icon-circle i,
  .masking-header.sms-page-header .icon-circle i,
  .block-contacts-header.sms-page-header .icon-circle i,
  .support-tickets-header.sms-page-header .icon-circle i {
    font-size: 30px;
  }
  .scheduled-messages-page .filter-card-header-modern {
    flex-direction: column;
    text-align: center;
  }
  .scheduled-messages-page .filter-grid {
    grid-template-columns: 1fr;
  }
  .scheduled-messages-page .filter-actions-modern {
    flex-direction: column;
  }
  .scheduled-messages-page .btn-filter-search-modern,
  .scheduled-messages-page .btn-filter-reset-modern {
    width: 100%;
    justify-content: center;
  }
  .scheduled-messages-page .scheduled-grid {
    grid-template-columns: 1fr;
  }
  .scheduled-messages-page .scheduled-stats-modern {
    grid-template-columns: 1fr;
  }
  .scheduled-messages-page .schedule-info-modern {
    flex-direction: column;
  }
  .scheduled-messages-page .card-actions-modern {
    flex-direction: column;
  }
  .scheduled-messages-page .action-btn-modern {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .scheduled-page-header.sms-page-header .header-content {
    padding: 22px 16px;
    gap: 14px;
  }
  .scheduled-page-header.sms-page-header .icon-circle {
    width: 60px;
    height: 60px;
  }
  .scheduled-page-header.sms-page-header .icon-circle i {
    font-size: 26px;
  }
  .scheduled-page-header.sms-page-header .header-content h1 {
    font-size: 20px;
  }
  .scheduled-messages-page .empty-icon-wrapper,
  .scheduled-messages-page .empty-icon-modern,
  .scheduled-messages-page .empty-icon-pulse {
    width: 120px;
    height: 120px;
  }
  .scheduled-messages-page .empty-icon-modern i {
    font-size: 60px;
  }
}

/* ============================================
   Groups Page Styles
   ============================================ */

.groups-page {
  padding: 0;
  background: #f8f9fa;
  min-height: calc(100vh - 250px);
}

.groups-page-header {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 60px 20px;
  margin-bottom: 30px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.groups-page-header .header-background-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  opacity: 0.5;
}

.groups-page-header .header-animated-circles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.groups-page-header .circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.groups-page-header .circle-1 {
  width: 200px;
  height: 200px;
  top: -50px;
  left: 10%;
  animation-delay: 0s;
}

.groups-page-header .circle-2 {
  width: 150px;
  height: 150px;
  top: 50%;
  right: 15%;
  animation-delay: 2s;
}

.groups-page-header .circle-3 {
  width: 100px;
  height: 100px;
  bottom: -30px;
  left: 60%;
  animation-delay: 4s;
}

.groups-page-header .header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.groups-page-header .header-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.groups-page-header .header-icon-wrapper i {
  font-size: 40px;
  color: white;
}

.groups-page-header .page-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.groups-page-header .page-subtitle {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 25px;
}

.groups-page-header .header-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.groups-page-header .badge-item {
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
}

.groups-page-header .badge-link {
  color: white;
  text-decoration: none;
}

.groups-page-header .badge-link:hover {
  color: white;
  text-decoration: underline;
}

.groups-action-bar {
  margin-bottom: 25px;
  display: flex;
  justify-content: flex-end;
}

.groups-page .btn-add-group-modern {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.groups-page .btn-add-group-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  color: white;
  text-decoration: none;
}

.groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.groups-page .group-card-modern {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.groups-page .group-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border-color: #667eea;
}

.groups-page .group-card-header-modern {
  padding: 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 2px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}

.groups-page .group-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.groups-page .assigned-badge-modern {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.groups-page .group-title-modern {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin: 0;
  line-height: 1.3;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.groups-page .group-meta-modern {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.groups-page .group-id-modern {
  font-size: 13px;
  color: #999;
  font-weight: 500;
}

.groups-page .status-badge-modern {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.groups-page .status-badge-modern.status-success {
  background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
  color: #155724;
}

.groups-page .status-badge-modern.status-default {
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
  color: #6c757d;
}

.groups-page .group-card-body-modern {
  padding: 20px;
}

.groups-page .group-stat-modern {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 12px;
  margin-bottom: 15px;
}

.groups-page .group-stat-modern .stat-icon-modern {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  flex-shrink: 0;
}

.groups-page .stat-value-modern {
  font-size: 24px;
  font-weight: 700;
  color: #667eea;
  text-decoration: none;
  display: block;
  line-height: 1.2;
}

.groups-page .stat-value-modern:hover {
  color: #764ba2;
  text-decoration: underline;
}

.groups-page .stat-label-modern {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.groups-page .group-description-modern {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.groups-page .group-description-modern i {
  color: #667eea;
  margin-top: 3px;
  flex-shrink: 0;
}

.groups-page .group-card-footer-modern {
  padding: 15px 20px;
  background: #f8f9fa;
  border-top: 2px solid #e9ecef;
}

.groups-page .group-actions-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.groups-page .action-btn-modern {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.groups-page .action-btn-modern.btn-add {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  color: #155724;
}

.groups-page .action-btn-modern.btn-upload {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.groups-page .action-btn-modern.btn-view {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  color: #333;
}

.groups-page .action-btn-modern.btn-edit {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
}

.groups-page .action-btn-modern.btn-status {
  background: #e9ecef;
  color: #6c757d;
}

.groups-page .action-btn-modern.btn-delete {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
  color: #721c24;
}

.groups-page .action-btn-modern.btn-download {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  color: #333;
}

.groups-page .action-btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.groups-page .action-btn-modern.btn-add:hover,
.groups-page .action-btn-modern.btn-upload:hover,
.groups-page .action-btn-modern.btn-edit:hover {
  color: white;
  text-decoration: none;
}

.groups-page .empty-groups-state-modern {
  text-align: center;
  padding: 80px 20px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.groups-page .empty-icon-wrapper {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 30px;
}

.groups-page .empty-icon-modern {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
  position: relative;
  z-index: 2;
}

.groups-page .empty-icon-modern i {
  font-size: 70px;
  color: white;
}

.groups-page .empty-icon-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  opacity: 0.3;
  animation: groups-pulse 2s ease-in-out infinite;
}

@keyframes groups-pulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.2); opacity: 0; }
}

.groups-page .empty-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.groups-page .empty-description {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

#groups-confirm-status .modal-icon-wrapper,
#groups-confirm-delete .modal-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  flex-shrink: 0;
}

#groups-confirm-status .modal-icon-wrapper.status-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

#groups-confirm-delete .modal-icon-wrapper.delete-icon {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

#groups-confirm-status .group-name-display,
#groups-confirm-delete .group-name-display {
  color: #667eea;
  font-weight: 600;
}

@media (max-width: 1200px) {
  .groups-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .groups-page-header {
    padding: 40px 15px;
  }
  .groups-page-header .page-title {
    font-size: 28px;
  }
  .groups-page-header .page-subtitle {
    font-size: 16px;
  }
  .groups-grid {
    grid-template-columns: 1fr;
  }
  .groups-page .group-actions-modern {
    flex-direction: column;
  }
  .groups-page .action-btn-modern {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .groups-page-header .header-icon-wrapper {
    width: 60px;
    height: 60px;
  }
  .groups-page-header .header-icon-wrapper i {
    font-size: 30px;
  }
  .groups-page .empty-icon-wrapper,
  .groups-page .empty-icon-modern,
  .groups-page .empty-icon-pulse {
    width: 120px;
    height: 120px;
  }
  .groups-page .empty-icon-modern i {
    font-size: 60px;
  }
}

/* ============================================
   Contacts Page Styles
   ============================================ */

.contacts-page {
  padding: 0;
  background: #f8f9fa;
  min-height: calc(100vh - 250px);
}

.contacts-page-header {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 60px 20px;
  margin-bottom: 30px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contacts-page-header .header-background-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  opacity: 0.5;
}

.contacts-page-header .header-animated-circles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.contacts-page-header .circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.contacts-page-header .circle-1 {
  width: 200px;
  height: 200px;
  top: -50px;
  left: 10%;
  animation-delay: 0s;
}

.contacts-page-header .circle-2 {
  width: 150px;
  height: 150px;
  top: 50%;
  right: 15%;
  animation-delay: 2s;
}

.contacts-page-header .circle-3 {
  width: 100px;
  height: 100px;
  bottom: -30px;
  left: 60%;
  animation-delay: 4s;
}

.contacts-page-header .header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.contacts-page-header .header-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contacts-page-header .header-icon-wrapper i {
  font-size: 40px;
  color: white;
}

.contacts-page-header .page-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.contacts-page-header .page-subtitle {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 25px;
}

.contacts-page-header .header-badges {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.contacts-page-header .badge-item {
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 18px;
  border-radius: 25px;
  font-size: 14px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
}

.contacts-page-header .badge-link {
  color: white;
  text-decoration: none;
}

.contacts-page-header .badge-link:hover {
  color: white;
  text-decoration: underline;
}

.contacts-page .contacts-table-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 30px;
}

.contacts-page .contacts-action-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 20px 25px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 2px solid #e0e0e0;
}

.contacts-page .btn-add-contact-modern,
.contacts-page .btn-bulk-modern {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
  border: none;
  cursor: pointer;
}

.contacts-page .btn-add-contact-modern {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  color: #155724;
}

.contacts-page .btn-add-contact-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(67, 233, 123, 0.4);
  color: #155724;
  text-decoration: none;
}

.contacts-page .btn-bulk-modern {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.contacts-page .btn-bulk-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  color: white;
  text-decoration: none;
}

.contacts-page .btn-delete-bulk-modern {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
  color: #721c24;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.contacts-page .btn-delete-bulk-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 154, 158, 0.4);
  color: #721c24;
}

.contacts-page .contacts-select-all {
  margin-left: auto;
}

.contacts-page .select-all-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  margin: 0;
}

.contacts-page .contacts-table-wrapper {
  padding: 20px;
  overflow-x: auto;
}

.contacts-page .contacts-table-modern {
  width: 100% !important;
}

.contacts-page .contacts-table-modern thead th {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-weight: 600;
  padding: 14px 12px;
  border: none;
  text-align: left;
}

.contacts-page .contacts-table-modern tbody td {
  padding: 12px;
  vertical-align: middle;
}

.contacts-page .contacts-table-modern tbody tr:hover {
  background: rgba(102, 126, 234, 0.05);
}

.contacts-page .cell-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: #667eea;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contacts-page .cell-action:hover {
  background: rgba(102, 126, 234, 0.1);
  color: #764ba2;
}

.contacts-page td.details-control .cell-action {
  color: #dc3545;
}

.contacts-page td.details-control .cell-action:hover {
  background: rgba(220, 53, 69, 0.1);
  color: #c82333;
}

.contacts-page td.details-control3 .cell-action {
  color: #fd7e14;
}

.contacts-page td.details-control3 .cell-action:hover {
  background: rgba(253, 126, 20, 0.1);
  color: #e96a00;
}

#contacts-confirm-active .modal-icon-wrapper,
#contacts-confirm-delete .modal-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  flex-shrink: 0;
}

#contacts-confirm-active .modal-icon-wrapper.status-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

#contacts-confirm-delete .modal-icon-wrapper.delete-icon {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

@media (max-width: 768px) {
  .contacts-page-header {
    padding: 40px 15px;
  }
  .contacts-page-header .page-title {
    font-size: 28px;
  }
  .contacts-page-header .page-subtitle {
    font-size: 16px;
  }
  .contacts-page .contacts-action-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .contacts-page .contacts-select-all {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .contacts-page-header .header-icon-wrapper {
    width: 60px;
    height: 60px;
  }
  .contacts-page-header .header-icon-wrapper i {
    font-size: 30px;
  }
}

/* ============================================
   Add Contact Page Styles
   ============================================ */

.add-contact-page {
  padding: 0;
  background: #f8f9fa;
  min-height: calc(100vh - 250px);
}

.add-contact-header {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 40px 20px;
  margin-bottom: 30px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.add-contact-header .header-background-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  opacity: 0.5;
}

.add-contact-header .header-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.add-contact-header .header-icon-wrapper {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.add-contact-header .header-icon-wrapper i {
  font-size: 36px;
  color: white;
}

.add-contact-header .header-text {
  flex: 1;
  min-width: 0;
}

.add-contact-header .page-title {
  font-size: 28px;
  font-weight: 700;
  color: white;
  margin: 0 0 5px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.add-contact-header .page-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.add-contact-page .btn-back-modern {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.add-contact-page .btn-back-modern:hover {
  background: rgba(255, 255, 255, 0.3);
  color: white;
  text-decoration: none;
  border-color: white;
}

.add-contact-page .add-contact-form-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 25px;
  overflow: hidden;
}

.add-contact-page .form-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 25px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 2px solid #e0e0e0;
}

.add-contact-page .form-card-header i {
  font-size: 24px;
  color: #667eea;
}

.add-contact-page .form-card-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.add-contact-page .form-card-body {
  padding: 25px;
}

.add-contact-page .form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.add-contact-page .form-group-modern {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.add-contact-page .form-group-modern.form-group-full {
  grid-column: 1 / -1;
}

.add-contact-page .form-group-modern label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}

.add-contact-page .form-group-modern label i {
  color: #667eea;
  font-size: 16px;
}

.add-contact-page .form-group-modern .required {
  color: #dc3545;
}

.add-contact-page .form-input-modern {
  padding: 5px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.3s ease;
  width: 100%;
}

.add-contact-page .form-input-modern:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.add-contact-page .phone-input-group {
  display: flex;
  gap: 10px;
}

.add-contact-page .phone-code-select {
  width: 140px;
  padding: 7px 14px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 15px;
  background: white;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  flex-shrink: 0;
}

.add-contact-page .phone-code-select:focus {
  outline: none;
  border-color: #667eea;
}

.add-contact-page .phone-number-input {
  flex: 1;
  padding: 5px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.3s ease;
}

.add-contact-page .phone-number-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.add-contact-page .form-group-modern .error {
  color: #dc3545;
  font-size: 13px;
  font-weight: 500;
  margin-top: 4px;
}

.add-contact-page .form-actions-modern {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  padding: 0 15px;
}

.add-contact-page .btn-save-close-modern,
.add-contact-page .btn-save-add-modern {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-contact-page .btn-save-close-modern {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.add-contact-page .btn-save-close-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  color: white;
}

.add-contact-page .btn-save-add-modern {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  color: #155724;
  box-shadow: 0 4px 15px rgba(67, 233, 123, 0.3);
}

.add-contact-page .btn-save-add-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(67, 233, 123, 0.4);
  color: #155724;
}

@media (max-width: 768px) {
  .add-contact-header {
    padding: 30px 15px;
  }
  .add-contact-header .header-content {
    flex-direction: column;
    text-align: center;
  }
  .add-contact-page .form-grid {
    grid-template-columns: 1fr;
  }
  .add-contact-page .form-actions-modern {
    flex-direction: column;
  }
  .add-contact-page .btn-save-close-modern,
  .add-contact-page .btn-save-add-modern {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .add-contact-header .header-icon-wrapper {
    width: 60px;
    height: 60px;
  }
  .add-contact-header .header-icon-wrapper i {
    font-size: 30px;
  }
  .add-contact-page .phone-input-group {
    flex-direction: column;
  }
  .add-contact-page .phone-code-select {
    width: 100%;
  }
}

/* ============================================
   Masking Request Page Styles
   ============================================ */

.masking-request-page {
  padding: 0;
  background: #f8f9fa;
  min-height: calc(100vh - 250px);
}

.masking-request-header {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  padding: 40px 30px;
  margin-bottom: 30px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.masking-request-header .header-background-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  opacity: 0.5;
}

.masking-request-header .header-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.masking-request-header .header-icon-wrapper {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.masking-request-header .header-icon-wrapper i {
  font-size: 36px;
  color: white;
}

.masking-request-header .header-text {
  flex: 1;
  min-width: 0;
}

.masking-request-header .page-title {
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin: 0 0 5px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.masking-request-header .page-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
}

.masking-request-page .btn-back-modern {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 25px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.masking-request-page .btn-back-modern:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: white;
  color: white;
  text-decoration: none;
}

.masking-request-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 30px;
}

.masking-request-page .masking-alert {
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  border: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.masking-request-page .masking-alert i {
  font-size: 20px;
  flex-shrink: 0;
}

.masking-request-page .alert-success {
  background: #d4edda;
  color: #155724;
}

.masking-request-page .alert-danger {
  background: #f8d7da;
  color: #721c24;
}

.masking-request-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 25px;
  overflow: hidden;
}

.masking-request-card .form-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 25px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 2px solid #e0e0e0;
}

.masking-request-card .form-card-header i {
  font-size: 24px;
  color: #667eea;
}

.masking-request-card .form-card-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.masking-request-card .form-card-body {
  padding: 25px;
}

.masking-request-card .form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.masking-request-card .form-group-modern {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.masking-request-card .form-group-modern label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}

.masking-request-card .form-group-modern label i {
  color: #667eea;
  font-size: 16px;
}

.masking-request-card .form-group-modern .text-muted {
  font-weight: 400;
  color: #666;
}

.masking-request-card .form-input-modern {
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 400px;
}

.masking-request-card .form-input-modern:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.masking-request-card .form-hint {
  font-size: 12px;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.masking-request-card .color-green {
  color: #28a745;
}

/* File Upload Area */
.masking-request-card .file-upload-modern {
  margin-top: 4px;
}

.masking-request-card .file-upload-area {
  border: 2px dashed #d0d0d0;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fafafa;
  position: relative;
}

.masking-request-card .file-upload-area:hover,
.masking-request-card .file-upload-area.drag-over {
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.05);
}

.masking-request-card .file-upload-area.has-file {
  border-style: solid;
  border-color: #28a745;
  background: rgba(40, 167, 69, 0.05);
}

.masking-request-card .file-upload-content i {
  font-size: 48px;
  color: #667eea;
  margin-bottom: 12px;
  display: block;
}

.masking-request-card .file-upload-text {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 6px 0;
}

.masking-request-card .file-upload-text span {
  color: #667eea;
  text-decoration: underline;
}

.masking-request-card .file-upload-hint {
  font-size: 13px;
  color: #888;
  margin: 0;
}

.masking-request-card .file-selected {
  padding: 20px 0;
}

.masking-request-card .file-selected i {
  font-size: 40px;
  color: #28a745;
  margin-bottom: 10px;
  display: block;
}

.masking-request-card .file-name {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin: 0 0 12px 0;
}

.masking-request-card .btn-remove-file {
  padding: 8px 16px;
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.masking-request-card .btn-remove-file:hover {
  background: #c82333;
}

.masking-request-card .form-card-footer {
  padding: 20px 25px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.masking-request-card .btn-submit-modern {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.masking-request-card .btn-submit-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  color: white;
}

.masking-request-card .btn-cancel-modern {
  padding: 10px 20px;
  font-size: 14px;
  background: white;
  border: 2px solid #dee2e6;
  border-radius: 10px;
  color: #495057;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.masking-request-card .btn-cancel-modern:hover {
  background: #e9ecef;
  color: #333;
  text-decoration: none;
}

.masking-request-card .error-text {
  color: #dc3545;
  font-size: 12px;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .masking-request-header {
    padding: 30px 20px;
  }
  .masking-request-header .header-content {
    flex-direction: column;
    text-align: center;
  }
  .masking-request-card .form-input-modern {
    max-width: 100%;
  }
}

/* ============================================
   Masking List Page Styles
   ============================================ */

.masking-list-page {
  padding: 0;
  background: #f8f9fa;
  min-height: calc(100vh - 250px);
}

.masking-list-header {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  padding: 40px 30px;
  margin-bottom: 30px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.masking-list-header .header-background-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  opacity: 0.5;
}

.masking-list-header .header-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.masking-list-header .header-icon-wrapper {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.masking-list-header .header-icon-wrapper i {
  font-size: 36px;
  color: white;
}

.masking-list-header .header-text {
  flex: 1;
  min-width: 0;
}

.masking-list-header .page-title {
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin: 0 0 5px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.masking-list-header .page-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
}

.masking-list-page .btn-new-modern {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 25px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.masking-list-page .btn-new-modern:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: white;
  color: white;
  text-decoration: none;
}

.masking-list-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 30px;
}

.masking-list-page .masking-list-alert {
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  border: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.masking-list-page .masking-list-alert i {
  font-size: 20px;
  flex-shrink: 0;
}

.masking-list-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.masking-list-card .table-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 25px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 2px solid #e0e0e0;
}

.masking-list-card .table-card-header i {
  font-size: 24px;
  color: #667eea;
}

.masking-list-card .table-card-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.masking-list-card .table-card-body {
  padding: 0;
  overflow-x: auto;
}

.masking-list-table {
  margin: 0;
  font-size: 14px;
}

.masking-list-table thead th {
  background: #f8f9fa;
  color: #495057;
  font-weight: 600;
  padding: 14px 20px;
  border-bottom: 2px solid #e9ecef;
  white-space: nowrap;
}

.masking-list-table tbody td {
  padding: 16px 20px;
  vertical-align: middle;
  border-bottom: 1px solid #f0f0f0;
}

.masking-list-table tbody tr:hover {
  background: #fafbfc;
}

.masking-list-table .mask-id {
  color: #6c757d;
  font-size: 13px;
}

.masking-list-table .status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
}

.masking-list-table .status-badge.status-pending {
  background: #fff3cd;
  color: #856404;
}

.masking-list-table .status-badge.status-accepted {
  background: #d4edda;
  color: #155724;
}

.masking-list-table .status-badge.status-rejected {
  background: #f8d7da;
  color: #721c24;
}

.masking-list-table .status-badge.status-proceed {
  background: #cce5ff;
  color: #004085;
}

.masking-list-table .status-detail,
.masking-list-table .status-reason {
  font-size: 12px;
  color: #6c757d;
  margin-top: 2px;
}

.masking-list-table .status-reason {
  font-style: italic;
  margin-top: 4px;
}

.masking-list-table .actions-cell {
  white-space: nowrap;
}

.masking-list-table .btn-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-right: 8px;
  margin-bottom: 4px;
}

.masking-list-table .btn-assign {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
}

.masking-list-table .btn-assign:hover {
  opacity: 0.9;
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
}

.masking-list-table .btn-delete {
  background: #dc3545;
  color: white;
  border: none;
}

.masking-list-table .btn-delete:hover {
  background: #c82333;
  color: white;
  text-decoration: none;
}

/* Empty State */
.masking-list-card .empty-state {
  padding: 60px 40px;
  text-align: center;
}

.masking-list-card .empty-state i {
  font-size: 64px;
  color: #dee2e6;
  margin-bottom: 20px;
  display: block;
}

.masking-list-card .empty-state h4 {
  font-size: 20px;
  color: #495057;
  margin: 0 0 10px 0;
}

.masking-list-card .empty-state p {
  font-size: 14px;
  color: #6c757d;
  margin: 0 0 24px 0;
}

.masking-list-card .btn-empty-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.masking-list-card .btn-empty-action:hover {
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Modal */
.masking-list-modal .modal-content {
  border-radius: 12px;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.masking-list-modal .modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid #e9ecef;
  background: #f8f9fa;
  border-radius: 12px 12px 0 0;
}

.masking-list-modal .modal-title {
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.masking-list-modal .modal-body {
  padding: 24px;
}

.masking-list-modal .modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #e9ecef;
}

.masking-list-modal .form-control {
  border-radius: 8px;
  border: 2px solid #e0e0e0;
}

.masking-list-modal .form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

@media (max-width: 768px) {
  .masking-list-header {
    padding: 30px 20px;
  }
  .masking-list-header .header-content {
    flex-direction: column;
    text-align: center;
  }
  .masking-list-table thead th,
  .masking-list-table tbody td {
    padding: 12px 14px;
    font-size: 13px;
  }
}

/* ============================================
   Shared List Page Styles (Audio, Subusers, Customers)
   ============================================ */

.audio-list-page,
.subusers-page,
.customers-page,
.my-transactions-page {
  padding: 0;
  background: #f8f9fa;
  min-height: calc(100vh - 250px);
}

.audio-list-header,
.subusers-header,
.customers-header,
.my-transactions-header,
.list-page-header,
.masking-header,
.support-tickets-header,
.block-contacts-header {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  padding: 40px 30px;
  margin-bottom: 30px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.audio-list-header .header-background-pattern,
.subusers-header .header-background-pattern,
.customers-header .header-background-pattern,
.my-transactions-header .header-background-pattern,
.list-page-header .header-background-pattern {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
  opacity: 0.5;
}

.audio-list-header .header-content,
.subusers-header .header-content,
.customers-header .header-content,
.my-transactions-header .header-content,
.list-page-header .header-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.audio-list-header .header-icon-wrapper,
.subusers-header .header-icon-wrapper,
.customers-header .header-icon-wrapper,
.my-transactions-header .header-icon-wrapper,
.list-page-header .header-icon-wrapper {
  width: 70px;
  height: 70px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.audio-list-header .header-icon-wrapper i,
.subusers-header .header-icon-wrapper i,
.customers-header .header-icon-wrapper i,
.my-transactions-header .header-icon-wrapper i,
.list-page-header .header-icon-wrapper i {
  font-size: 36px;
  color: white;
}

.audio-list-header .header-text,
.subusers-header .header-text,
.customers-header .header-text,
.my-transactions-header .header-text,
.list-page-header .header-text { flex: 1; min-width: 0; }

.audio-list-header .page-title,
.subusers-header .page-title,
.customers-header .page-title,
.my-transactions-header .page-title,
.list-page-header .page-title {
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin: 0 0 5px 0;
}

.audio-list-header .page-subtitle,
.subusers-header .page-subtitle,
.customers-header .page-subtitle,
.my-transactions-header .page-subtitle,
.list-page-header .page-subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.95);
  margin: 0;
}

.audio-list-page .btn-new-modern,
.subusers-page .btn-new-modern,
.customers-page .btn-new-modern {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(255,255,255,0.25);
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 25px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.audio-list-page .btn-new-modern:hover,
.subusers-page .btn-new-modern:hover,
.customers-page .btn-new-modern:hover {
  background: rgba(255,255,255,0.35);
  border-color: white;
  color: white;
}

.audio-list-content,
.subusers-content,
.customers-content,
.my-transactions-content,
.list-page-content,
.masking-content,
.support-tickets-content,
.block-contacts-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 30px;
}

/* List page variants */
.list-page-modern { padding: 0; background: #f8f9fa; min-height: calc(100vh - 250px); }

.support-tickets-tabs {
  list-style: none;
  padding: 0;
  margin: 0 20px 0 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.support-tickets-tabs li { display: inline-block; }
.support-tickets-tabs a {
  display: block;
  padding: 10px 20px;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 25px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}
.support-tickets-tabs a:hover { background: rgba(255,255,255,0.3); color: white; border-color: white; }
.support-tickets-tabs a.active { background: white; color: #667eea; border-color: white; }
.support-tickets-tabs { margin-bottom: 20px; }
.support-tickets-page .support-tickets-tabs { margin: 0 20px 20px 20px; }
.support-tickets-page .support-tickets-tabs a {
  background: #e9ecef;
  border-color: #dee2e6;
  color: #495057;
}
.support-tickets-page .support-tickets-tabs a:hover { background: #dee2e6; color: #333; }
.support-tickets-page .support-tickets-tabs a.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: transparent;
}

.btn-add-ticket {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(255,255,255,0.25);
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 25px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}
.btn-add-ticket:hover { background: rgba(255,255,255,0.4); color: white; border-color: white; }

.masking-page .btn-status-toggle { margin-left: 8px; color: #667eea; }
.masking-page .btn-status-toggle:hover { color: #764ba2; }
.masking-page .btn-mask-action { margin-right: 8px; }

.block-contacts-page .restore-btn {
  color: #667eea;
  text-decoration: none;
}
.block-contacts-page .restore-btn:hover { color: #764ba2; text-decoration: none; }
.block-contacts-page .details-control3 { cursor: pointer; }

.list-page-alert {
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  border: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.list-page-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
}

.list-page-card .table-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 25px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 2px solid #e0e0e0;
}

.list-page-card .table-card-header i {
  font-size: 24px;
  color: #667eea;
}

.list-page-card .table-card-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.list-page-card .table-card-body { padding: 0; overflow-x: auto; }

.list-page-table {
  margin: 0;
  font-size: 14px;
}

.list-page-table thead th {
  background: #f8f9fa;
  color: #495057;
  font-weight: 600;
  padding: 14px 20px;
  border-bottom: 2px solid #e9ecef;
}

.list-page-table tbody td {
  padding: 16px 20px;
  vertical-align: middle;
  border-bottom: 1px solid #f0f0f0;
}

.list-page-table .list-id { color: #6c757d; font-size: 13px; }

.list-page-table .status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.list-page-table .status-badge.status-pending { background: #fff3cd; color: #856404; }
.list-page-table .status-badge.status-accepted { background: #d4edda; color: #155724; }
.list-page-table .status-badge.status-rejected { background: #f8d7da; color: #721c24; }
.list-page-table .status-badge.status-proceed { background: #cce5ff; color: #004085; }

.list-page-table .status-detail,
.list-page-table .status-reason { font-size: 12px; color: #6c757d; margin-top: 2px; }

.list-page-table .actions-cell { white-space: nowrap; }

.list-page-table .btn-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-right: 6px;
  margin-bottom: 4px;
}

.list-page-table .btn-edit { background: #17a2b8; color: white; }
.list-page-table .btn-edit:hover { color: white; opacity: 0.9; }
.list-page-table .btn-delete { background: #dc3545; color: white; }
.list-page-table .btn-delete:hover { color: white; }
.list-page-table .btn-assign { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; }
.list-page-table .btn-assign:hover { color: white; }
.list-page-table .btn-credit { background: #28a745; color: white; }
.list-page-table .btn-minus { background: #ffc107; color: #333; }
.list-page-table .btn-history { background: #6c757d; color: white; }
.list-page-table .btn-invoice { background: #17a2b8; color: white; }
.list-page-table .btn-mask { background: #667eea; color: white; }
.list-page-table .btn-link-sm { background: #e9ecef; color: #495057; padding: 4px 10px; }
.list-page-table .name-link { color: #667eea; font-weight: 600; }
.list-page-table .name-link:hover { text-decoration: underline; }
.list-page-table .status-link { display: inline-block; margin-left: 4px; }
.list-page-table .perm-cell { max-width: 180px; }
.list-page-table .perm-text { font-size: 12px; overflow: hidden; text-overflow: ellipsis; display: block; }

.list-page-table .audio-inline { width: 100%; max-width: 200px; height: 36px; }

.list-page-card .empty-state {
  padding: 60px 40px;
  text-align: center;
}

.list-page-card .empty-state i {
  font-size: 64px;
  color: #dee2e6;
  margin-bottom: 20px;
  display: block;
}

.list-page-card .empty-state h4 { font-size: 20px; color: #495057; margin: 0 0 10px 0; }
.list-page-card .empty-state p { font-size: 14px; color: #6c757d; margin: 0 0 24px 0; }

.list-page-card .btn-empty-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}

.list-page-card .btn-empty-action:hover { color: white; transform: translateY(-2px); }

.list-page-modal .modal-content { border-radius: 12px; border: none; box-shadow: 0 10px 40px rgba(0,0,0,0.15); }
.list-page-modal .modal-header { padding: 20px 24px; background: #f8f9fa; border-radius: 12px 12px 0 0; }
.list-page-modal .modal-body { padding: 24px; }
.list-page-modal .modal-footer { padding: 16px 24px; border-top: 1px solid #e9ecef; }
.list-page-modal .form-control { border-radius: 8px; border: 2px solid #e0e0e0; }

/* ============================================
   Form Page Modern (Add Subuser, Add Customer)
   ============================================ */

.form-page-modern {
  padding: 0;
  background: #f8f9fa;
  min-height: calc(100vh - 250px);
}

.form-page-modern.rate-banner {
  padding: 12px 20px;
  margin: 0 20px 20px;
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
  border-radius: 10px;
  font-size: 14px;
}

.form-page-header {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  padding: 40px 30px;
  margin-bottom: 30px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.form-page-header .header-background-pattern {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
  opacity: 0.5;
}

.form-page-header .header-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.form-page-header .header-icon-wrapper {
  width: 70px;
  height: 70px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.form-page-header .header-icon-wrapper i { font-size: 36px; color: white; }
.form-page-header .header-text { flex: 1; min-width: 0; }
.form-page-header .page-title { font-size: 20px; font-weight: 700; color: white; margin: 0 0 5px 0; }
.form-page-header .page-subtitle { font-size: 14px; color: rgba(255,255,255,0.95); margin: 0; }

.form-page-modern .btn-back-modern {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 25px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.form-page-modern .btn-back-modern:hover { background: rgba(255,255,255,0.3); border-color: white; color: white; }

.form-page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 30px;
}

.form-page-alert {
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  border: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-page-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
}

.form-page-card .form-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 25px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 2px solid #e0e0e0;
}

.form-page-card .form-card-header i { font-size: 24px; color: #667eea; }
.form-page-card .form-card-header h3 { font-size: 18px; font-weight: 700; color: #333; margin: 0; }

.form-page-card .form-card-body { padding: 25px; }

.form-grid {
  display: grid;
  gap: 20px;
}

.form-grid.grid-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.form-page-card .form-group-modern {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-page-card .form-group-modern label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-page-card .form-group-modern label i { color: #667eea; }

.form-page-card .form-input-modern {
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.form-page-card .form-input-modern:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102,126,234,0.15);
}

.form-page-card .form-static { padding: 12px 0; font-weight: 600; color: #495057; }

.form-page-card .perm-section { margin-top: 20px; }

.form-page-card .perm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.form-page-card .perm-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

.form-page-card .perm-check:hover { border-color: #667eea; background: rgba(102,126,234,0.05); }
.form-page-card .perm-check input { margin: 0; }
.form-page-card .perm-check input:checked + span { color: #667eea; font-weight: 600; }

.form-page-card .logo-upload-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.form-page-card .logo-preview img {
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid #e9ecef;
}

.form-page-card .form-card-footer {
  padding: 20px 25px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  display: flex;
  gap: 15px;
}

.form-page-card .btn-submit-modern {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-page-card .btn-submit-modern:hover { transform: translateY(-2px); color: white; }

.form-page-card .btn-cancel-modern {
  padding: 10px 20px;
  font-size: 14px;
  background: white;
  border: 2px solid #dee2e6;
  border-radius: 10px;
  color: #495057;
  font-weight: 600;
  text-decoration: none;
}

.form-page-card .btn-cancel-modern:hover { background: #e9ecef; color: #333; }
.form-page-card .error-text { color: #dc3545; font-size: 12px; }

/* Make Call / Add Group - Recipient Tabs */
.make-call-form-page .recipient-tabs-modern {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.make-call-form-page .btn-tab-modern {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: #f0f0f0;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  transition: all 0.2s;
}
.make-call-form-page .btn-tab-modern:hover { background: #e8e8e8; }
.make-call-form-page .btn-tab-modern.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: #667eea;
  color: white;
}
.make-call-form-page .btn-tab-modern input { display: none; }
.make-call-form-page .recipient-hint { display: block; margin-top: 8px; font-size: 13px; color: #6c757d; }
.make-call-form-page .recipient-section { margin-top: 16px; }
.make-call-form-page .sample-links { display: flex; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.make-call-form-page .sample-links .downloadlink { color: #667eea; font-weight: 500; }
.make-call-form-page .sample-links .downloadlink:hover { text-decoration: underline; }
.make-call-form-page .file-upload-inline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.make-call-form-page .upload-progress { margin-top: 10px; font-size: 14px; }
.make-call-form-page .audio-preview { display: block; margin-top: 12px; }
.make-call-form-page .make-call-audio-preview { max-width: 100%; }

.form-page-card textarea.form-input-modern {
  min-height: 120px;
  resize: vertical;
}

@media (max-width: 768px) {
  .audio-list-header, .subusers-header, .customers-header, .my-transactions-header,
  .list-page-header, .form-page-header { padding: 30px 20px; }
  .audio-list-header .header-content, .subusers-header .header-content,
  .customers-header .header-content, .my-transactions-header .header-content,
  .list-page-header .header-content, .form-page-header .header-content {
    flex-direction: column; text-align: center;
  }
  .support-tickets-page .btn-add-ticket { margin-top: 12px; }
  .form-grid.grid-3 { grid-template-columns: 1fr; }
}

/* ============================================
   Audio Request Page Styles
   ============================================ */

.audio-request-page {
  padding: 0;
  background: #f8f9fa;
  min-height: calc(100vh - 250px);
}

.audio-request-header {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  padding: 40px 30px;
  margin-bottom: 30px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.audio-request-header .header-background-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  opacity: 0.5;
}

.audio-request-header .header-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.audio-request-header .header-icon-wrapper {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.audio-request-header .header-icon-wrapper i {
  font-size: 36px;
  color: white;
}

.audio-request-header .header-text {
  flex: 1;
  min-width: 0;
}

.audio-request-header .page-title {
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin: 0 0 5px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.audio-request-header .page-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
}

.audio-request-page .btn-back-modern {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 25px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.audio-request-page .btn-back-modern:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: white;
  color: white;
  text-decoration: none;
}

.audio-request-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 30px;
}

.audio-request-page .audio-alert {
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  border: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.audio-request-page .audio-alert i {
  font-size: 20px;
  flex-shrink: 0;
}

.audio-request-page .alert-success {
  background: #d4edda;
  color: #155724;
}

.audio-request-page .alert-danger {
  background: #f8d7da;
  color: #721c24;
}

.audio-request-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 25px;
  overflow: hidden;
}

.audio-request-card .form-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 25px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 2px solid #e0e0e0;
}

.audio-request-card .form-card-header i {
  font-size: 24px;
  color: #667eea;
}

.audio-request-card .form-card-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.audio-request-card .form-card-body {
  padding: 25px;
}

.audio-request-card .form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.audio-request-card .form-group-modern {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.audio-request-card .form-group-modern label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}

.audio-request-card .form-group-modern label i {
  color: #667eea;
  font-size: 16px;
}

.audio-request-card .form-group-modern .text-muted {
  font-weight: 400;
  color: #666;
}

.audio-request-card .form-input-modern {
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 400px;
}

.audio-request-card .form-input-modern:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

/* Audio Upload Area */
.audio-request-card .audio-upload-modern {
  margin-top: 4px;
}

.audio-request-card .audio-upload-area {
  border: 2px dashed #d0d0d0;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fafafa;
  position: relative;
}

.audio-request-card .audio-upload-area:hover,
.audio-request-card .audio-upload-area.drag-over {
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.05);
}

.audio-request-card .audio-upload-area.upload-error {
  border-color: #dc3545;
  background: rgba(220, 53, 69, 0.05);
}

.audio-request-card .audio-upload-content i {
  font-size: 48px;
  color: #667eea;
  margin-bottom: 12px;
  display: block;
}

.audio-request-card .audio-upload-text {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 6px 0;
}

.audio-request-card .audio-upload-text span {
  color: #667eea;
  text-decoration: underline;
}

.audio-request-card .audio-upload-hint {
  font-size: 13px;
  color: #888;
  margin: 0;
}

.audio-request-card .audio-upload-progress {
  margin-top: 12px;
  font-size: 13px;
}

.audio-request-card .audio-upload-progress .greencolor {
  color: #28a745;
}

.audio-request-card .audio-upload-progress .redcolor {
  color: #dc3545;
}

.audio-request-card .audio-selected {
  padding: 20px 0;
}

.audio-request-card .audio-selected i {
  font-size: 40px;
  color: #28a745;
  margin-bottom: 10px;
  display: block;
}

.audio-request-card .audio-file-name {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin: 0 0 12px 0;
}

.audio-request-card .audio-duration {
  font-size: 13px;
  color: #666;
  margin: 8px 0;
}

.audio-request-card .audio-player-modern {
  width: 100%;
  max-width: 400px;
  height: 40px;
  margin: 12px 0;
}

.audio-request-card .btn-remove-audio {
  padding: 8px 16px;
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.audio-request-card .btn-remove-audio:hover {
  background: #c82333;
  color: white;
}

.audio-request-card .form-card-footer {
  padding: 20px 25px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.audio-request-card .btn-submit-modern {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.audio-request-card .btn-submit-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  color: white;
}

.audio-request-card .btn-cancel-modern {
  padding: 10px 20px;
  font-size: 14px;
  background: white;
  border: 2px solid #dee2e6;
  border-radius: 10px;
  color: #495057;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.audio-request-card .btn-cancel-modern:hover {
  background: #e9ecef;
  color: #333;
  text-decoration: none;
}

.audio-request-card .error-text {
  color: #dc3545;
  font-size: 12px;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .audio-request-header {
    padding: 30px 20px;
  }
  .audio-request-header .header-content {
    flex-direction: column;
    text-align: center;
  }
  .audio-request-card .form-input-modern {
    max-width: 100%;
  }
}

/* ============================================
   Add Contact Bulk Page Styles
   ============================================ */

.add-contact-bulk-page {
  padding: 0;
  background: #f8f9fa;
  min-height: calc(100vh - 250px);
}

.add-contact-bulk-page .add-bulk-header {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 40px 20px;
  margin-bottom: 30px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.add-contact-bulk-page .add-bulk-header .header-background-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  opacity: 0.5;
}

.add-contact-bulk-page .add-bulk-header .header-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.add-contact-bulk-page .add-bulk-header .header-icon-wrapper {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.add-contact-bulk-page .add-bulk-header .header-icon-wrapper i {
  font-size: 36px;
  color: white;
}

.add-contact-bulk-page .add-bulk-header .header-text {
  flex: 1;
  min-width: 0;
}

.add-contact-bulk-page .add-bulk-header .page-title {
  font-size: 28px;
  font-weight: 700;
  color: white;
  margin: 0 0 5px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.add-contact-bulk-page .add-bulk-header .page-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.add-contact-bulk-page .btn-back-modern {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.add-contact-bulk-page .btn-back-modern:hover {
  background: rgba(255, 255, 255, 0.3);
  color: white;
  text-decoration: none;
  border-color: white;
}

.add-contact-bulk-page .bulk-upload-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 25px;
  overflow: hidden;
}

.add-contact-bulk-page .form-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 25px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 2px solid #e0e0e0;
}

.add-contact-bulk-page .form-card-header i {
  font-size: 24px;
  color: #667eea;
}

.add-contact-bulk-page .form-card-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.add-contact-bulk-page .form-card-body {
  padding: 25px;
}

.add-contact-bulk-page .upload-zone {
  position: relative;
  border: 2px dashed #d0d0d0;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  background: #fafafa;
  transition: all 0.3s ease;
  cursor: pointer;
}

.add-contact-bulk-page .upload-zone:hover,
.add-contact-bulk-page .upload-zone.dragover {
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.05);
}

.add-contact-bulk-page .upload-zone.has-file {
  border-color: #43e97b;
  background: rgba(67, 233, 123, 0.05);
}

.add-contact-bulk-page .file-input-hidden {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  overflow: hidden;
}

.add-contact-bulk-page .upload-placeholder i.fa-cloud-upload {
  font-size: 60px;
  color: #667eea;
  margin-bottom: 15px;
  display: block;
}

.add-contact-bulk-page .upload-text {
  font-size: 18px;
  color: #333;
  margin: 0 0 8px 0;
}

.add-contact-bulk-page .upload-browse {
  color: #667eea;
  font-weight: 600;
  text-decoration: underline;
}

.add-contact-bulk-page .upload-hint {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.add-contact-bulk-page .sample-files {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 2px solid #f0f0f0;
}

.add-contact-bulk-page .sample-label {
  font-size: 14px;
  font-weight: 600;
  color: #666;
  display: flex;
  align-items: center;
  gap: 8px;
}

.add-contact-bulk-page .sample-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: #667eea;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.add-contact-bulk-page .sample-link:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
}

.add-contact-bulk-page .form-group-modern {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.add-contact-bulk-page .form-group-modern label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}

.add-contact-bulk-page .form-group-modern label i {
  color: #667eea;
}

.add-contact-bulk-page .form-group-modern .required {
  color: #dc3545;
}

.add-contact-bulk-page .form-input-modern {
  padding: 5px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.3s ease;
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  background: white;
}

.add-contact-bulk-page .form-input-modern:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.add-contact-bulk-page .form-actions-modern {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  padding: 0 15px;
}

.add-contact-bulk-page .btn-upload-modern {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 12px;
  font-weight: 600;
  font-size: 18px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.add-contact-bulk-page .btn-upload-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  color: white;
}

.add-contact-bulk-page .loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.add-contact-bulk-page .loader-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.add-contact-bulk-page .loader-text {
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .add-contact-bulk-page .add-bulk-header {
    padding: 30px 15px;
  }
  .add-contact-bulk-page .add-bulk-header .header-content {
    flex-direction: column;
    text-align: center;
  }
  .add-contact-bulk-page .sample-files {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .add-contact-bulk-page .add-bulk-header .header-icon-wrapper {
    width: 60px;
    height: 60px;
  }
  .add-contact-bulk-page .add-bulk-header .header-icon-wrapper i {
    font-size: 30px;
  }
  .add-contact-bulk-page .upload-zone {
    padding: 30px 20px;
  }
}

/* ============================================
   Log Message (SMS Log) Page Styles
   ============================================ */

.log-message-page {
  padding: 0;
  background: #f8f9fa;
  min-height: calc(100vh - 250px);
}

.log-message-header {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 50px 20px;
  margin-bottom: 30px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.log-message-header .header-background-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  opacity: 0.5;
}

.log-message-header .header-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 25px;
}

.log-message-header .header-icon-wrapper {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.log-message-header .header-icon-wrapper i {
  font-size: 36px;
  color: white;
}

.log-message-header .header-text {
  flex: 1;
}

.log-message-header .page-title {
  font-size: 28px;
  font-weight: 700;
  color: white;
  margin: 0 0 5px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.log-message-header .page-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.log-message-page .btn-back-modern {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.log-message-page .btn-back-modern:hover {
  background: rgba(255, 255, 255, 0.3);
  color: white;
  text-decoration: none;
  border-color: white;
}

.log-message-old-monthwise-page .monthwise-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 16px;
  background: rgba(102, 126, 234, 0.08);
  border-left: 4px solid #667eea;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #555;
}

.log-message-old-monthwise-page .monthwise-hint i {
  color: #667eea;
  font-size: 18px;
  flex-shrink: 0;
}

.log-message-page .log-filter-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 25px;
  overflow: hidden;
}

.log-message-page .filter-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 25px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 2px solid #e0e0e0;
}

.log-message-page .filter-card-header i {
  font-size: 24px;
  color: #667eea;
}

.log-message-page .filter-card-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.log-message-page .filter-card-body {
  padding: 25px;
}

.log-message-page .filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 25px;
}

.log-message-page .filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.log-message-page .filter-group label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}

.log-message-page .filter-group label i {
  color: #667eea;
}

.log-message-page .filter-group .form-input-modern {
  padding: 5px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.3s ease;
  width: 100%;
}

.log-message-page .filter-group .form-input-modern:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.log-message-page .filter-group .form-input-modern,
.log-message-page .filter-group select.form-input-modern {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  background: white;
}

.log-message-page .total-sms-count {
  font-size: 24px;
  font-weight: 700;
  color: #667eea;
  margin: 0;
  line-height: 1.2;
}

.log-message-page .filter-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.log-message-page .btn-search-modern,
.log-message-page .btn-download-modern,
.log-message-page .btn-reset-modern {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.log-message-page .btn-search-modern {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.log-message-page .btn-search-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  color: white;
}

.log-message-page .btn-download-modern {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  color: #155724;
}

.log-message-page .btn-download-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(67, 233, 123, 0.4);
  color: #155724;
}

.log-message-page .btn-reset-modern {
  background: #f0f0f0;
  color: #666;
}

.log-message-page .btn-reset-modern:hover {
  background: #e0e0e0;
  color: #333;
  text-decoration: none;
}

.log-message-page .log-table-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  padding: 20px;
}

.log-message-page .log-table-modern thead th {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-weight: 600;
  padding: 14px 12px;
  border: none;
  text-align: left;
}

.log-message-page .log-table-modern tbody td {
  padding: 12px;
  vertical-align: middle;
}

.log-message-page .log-table-modern tbody tr:hover {
  background: rgba(102, 126, 234, 0.05);
}

.log-message-page .cell-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: #667eea;
  cursor: pointer;
  transition: all 0.3s ease;
}

.log-message-page .cell-action:hover {
  background: rgba(102, 126, 234, 0.1);
  color: #764ba2;
}

@media (max-width: 768px) {
  .log-message-header {
    padding: 35px 15px;
  }
  .log-message-header .header-content {
    flex-direction: column;
    text-align: center;
  }
  .log-message-page .filter-grid {
    grid-template-columns: 1fr;
  }
  .log-message-page .filter-actions {
    flex-direction: column;
  }
  .log-message-page .btn-search-modern,
  .log-message-page .btn-download-modern,
  .log-message-page .btn-reset-modern {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .log-message-header .header-icon-wrapper {
    width: 60px;
    height: 60px;
  }
  .log-message-header .header-icon-wrapper i {
    font-size: 30px;
  }
}

/* Monthwise Log (Monthly Report) Page */
.monthwise-log-page {
  padding: 0;
  background: #f8f9fa;
}

.monthwise-log-header {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 40px 30px;
  overflow: hidden;
}

.monthwise-log-header .header-background-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.monthwise-log-header .header-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 24px;
}

.monthwise-log-header .header-icon-wrapper {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.monthwise-log-header .header-icon-wrapper i {
  font-size: 36px;
  color: white;
}

.monthwise-log-header .header-text {
  flex: 1;
}

.monthwise-log-header .page-title {
  font-size: 28px;
  font-weight: 700;
  color: white;
  margin: 0 0 6px 0;
}

.monthwise-log-header .page-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.monthwise-log-page .monthwise-filter-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  margin-bottom: 24px;
  overflow: hidden;
}

.monthwise-log-page .filter-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 25px;
  background: #fafafa;
  border-bottom: 2px solid #f0f0f0;
}

.monthwise-log-page .filter-card-header i {
  font-size: 24px;
  color: #667eea;
}

.monthwise-log-page .filter-card-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.monthwise-log-page .filter-card-body {
  padding: 25px;
}

.monthwise-log-page .filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.monthwise-log-page .filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.monthwise-log-page .filter-group label {
  font-size: 14px;
  font-weight: 600;
  color: #555;
}

.monthwise-log-page .filter-group label i {
  color: #667eea;
  margin-right: 4px;
}

.monthwise-log-page .filter-group .form-input-modern {
  padding: 5px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.monthwise-log-page .filter-group .form-input-modern:focus {
  outline: none;
  border-color: #667eea;
}

.monthwise-log-page .filter-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.monthwise-log-page .btn-search-modern,
.monthwise-log-page .btn-download-modern,
.monthwise-log-page .btn-reset-modern {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.monthwise-log-page .btn-search-modern {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.monthwise-log-page .btn-search-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.monthwise-log-page .btn-download-modern {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  color: #155724;
}

.monthwise-log-page .btn-download-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(67, 233, 123, 0.4);
}

.monthwise-log-page .btn-reset-modern {
  background: #f0f0f0;
  color: #666;
}

.monthwise-log-page .btn-reset-modern:hover {
  background: #e0e0e0;
  color: #333;
  text-decoration: none;
}

.monthwise-log-page .monthwise-table-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  padding: 0;
  overflow: hidden;
}

.monthwise-log-page .monthwise-table-modern thead th {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 14px 12px;
  font-weight: 600;
  border: none;
}

.monthwise-log-page .monthwise-table-modern tbody td {
  padding: 12px;
  vertical-align: middle;
}

.monthwise-log-page .monthwise-table-modern tbody tr:hover {
  background: rgba(102, 126, 234, 0.05);
}

@media (max-width: 768px) {
  .monthwise-log-header {
    padding: 35px 15px;
  }
  .monthwise-log-header .header-content {
    flex-direction: column;
    text-align: center;
  }
  .monthwise-log-page .filter-grid {
    grid-template-columns: 1fr;
  }
  .monthwise-log-page .filter-actions {
    flex-direction: column;
  }
  .monthwise-log-page .btn-search-modern,
  .monthwise-log-page .btn-download-modern,
  .monthwise-log-page .btn-reset-modern {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .monthwise-log-header .header-icon-wrapper {
    width: 60px;
    height: 60px;
  }
  .monthwise-log-header .header-icon-wrapper i {
    font-size: 30px;
  }
}

/* Monthly SMS Report (Monthwise Report) Page */
.monthly-sms-rpt-page {
  padding: 0;
  background: #f8f9fa;
}

.monthly-sms-rpt-header {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 40px 30px;
  overflow: hidden;
}

.monthly-sms-rpt-header .header-background-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.monthly-sms-rpt-header .header-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 24px;
}

.monthly-sms-rpt-header .header-icon-wrapper {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.monthly-sms-rpt-header .header-icon-wrapper i {
  font-size: 36px;
  color: white;
}

.monthly-sms-rpt-header .header-text {
  flex: 1;
}

.monthly-sms-rpt-header .page-title {
  font-size: 28px;
  font-weight: 700;
  color: white;
  margin: 0 0 6px 0;
}

.monthly-sms-rpt-header .page-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.monthly-sms-rpt-page .monthly-rpt-filter-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  margin-bottom: 24px;
  overflow: hidden;
}

.monthly-sms-rpt-page .filter-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 25px;
  background: #fafafa;
  border-bottom: 2px solid #f0f0f0;
}

.monthly-sms-rpt-page .filter-card-header i {
  font-size: 24px;
  color: #667eea;
}

.monthly-sms-rpt-page .filter-card-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.monthly-sms-rpt-page .filter-card-body {
  padding: 25px;
}

.monthly-sms-rpt-page .filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.monthly-sms-rpt-page .filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.monthly-sms-rpt-page .filter-group label {
  font-size: 14px;
  font-weight: 600;
  color: #555;
}

.monthly-sms-rpt-page .filter-group label i {
  color: #667eea;
  margin-right: 4px;
}

.monthly-sms-rpt-page .filter-group .form-input-modern {
  padding: 5px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.monthly-sms-rpt-page .filter-group .form-input-modern:focus {
  outline: none;
  border-color: #667eea;
}

.monthly-sms-rpt-page .filter-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.monthly-sms-rpt-page .btn-search-modern,
.monthly-sms-rpt-page .btn-reset-modern {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.monthly-sms-rpt-page .btn-search-modern {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.monthly-sms-rpt-page .btn-search-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.monthly-sms-rpt-page .btn-reset-modern {
  background: #f0f0f0;
  color: #666;
}

.monthly-sms-rpt-page .btn-reset-modern:hover {
  background: #e0e0e0;
  color: #333;
  text-decoration: none;
}

.monthly-sms-rpt-page .monthly-rpt-table-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  padding: 0;
  overflow: hidden;
}

.monthly-sms-rpt-page .monthly-rpt-table-modern thead th {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 14px 12px;
  font-weight: 600;
  border: none;
}

.monthly-sms-rpt-page .monthly-rpt-table-modern tbody td {
  padding: 12px;
  vertical-align: middle;
}

.monthly-sms-rpt-page .monthly-rpt-table-modern tbody tr:hover {
  background: rgba(102, 126, 234, 0.05);
}

@media (max-width: 768px) {
  .monthly-sms-rpt-header {
    padding: 35px 15px;
  }
  .monthly-sms-rpt-header .header-content {
    flex-direction: column;
    text-align: center;
  }
  .monthly-sms-rpt-page .filter-grid {
    grid-template-columns: 1fr;
  }
  .monthly-sms-rpt-page .filter-actions {
    flex-direction: column;
  }
  .monthly-sms-rpt-page .btn-search-modern,
  .monthly-sms-rpt-page .btn-reset-modern {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .monthly-sms-rpt-header .header-icon-wrapper {
    width: 60px;
    height: 60px;
  }
  .monthly-sms-rpt-header .header-icon-wrapper i {
    font-size: 30px;
  }
}

/* Call Campaign Page */
.call-campaign-page {
  padding: 0;
  background: #f8f9fa;
}

.call-campaign-header {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 40px 30px;
  overflow: hidden;
}

.call-campaign-header .header-background-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.call-campaign-header .header-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 24px;
}

.call-campaign-header .header-icon-wrapper {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.call-campaign-header .header-icon-wrapper i {
  font-size: 36px;
  color: white;
}

.call-campaign-header .header-text {
  flex: 1;
}

.call-campaign-header .page-title {
  font-size: 28px;
  font-weight: 700;
  color: white;
  margin: 0 0 6px 0;
}

.call-campaign-header .page-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.call-campaign-page .call-campaign-filter-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  margin-bottom: 24px;
  overflow: hidden;
}

.call-campaign-page .filter-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 25px;
  background: #fafafa;
  border-bottom: 2px solid #f0f0f0;
}

.call-campaign-page .filter-card-header i {
  font-size: 24px;
  color: #667eea;
}

.call-campaign-page .filter-card-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.call-campaign-page .filter-card-body {
  padding: 25px;
}

.call-campaign-page .filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.call-campaign-page .filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.call-campaign-page .filter-group label {
  font-size: 14px;
  font-weight: 600;
  color: #555;
}

.call-campaign-page .filter-group label i {
  color: #667eea;
  margin-right: 4px;
}

.call-campaign-page .filter-group .form-input-modern {
  padding: 5px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.call-campaign-page .filter-group .form-input-modern:focus {
  outline: none;
  border-color: #667eea;
}

.call-campaign-page .filter-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.call-campaign-page .btn-search-modern,
.call-campaign-page .btn-reset-modern {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.call-campaign-page .btn-search-modern {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.call-campaign-page .btn-search-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.call-campaign-page .btn-reset-modern {
  background: #f0f0f0;
  color: #666;
}

.call-campaign-page .btn-reset-modern:hover {
  background: #e0e0e0;
  color: #333;
  text-decoration: none;
}

.call-campaign-page .call-campaign-table-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  padding: 0;
  overflow: hidden;
}

.call-campaign-page .call-campaign-table-modern thead th {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 14px 12px;
  font-weight: 600;
  border: none;
}

.call-campaign-page .call-campaign-table-modern tbody td {
  padding: 12px;
  vertical-align: middle;
}

.call-campaign-page .call-campaign-table-modern tbody tr:hover {
  background: rgba(102, 126, 234, 0.05);
}

.call-campaign-page .campaign-link {
  color: #667eea;
  font-weight: 600;
  text-decoration: none;
}

.call-campaign-page .campaign-link:hover {
  color: #764ba2;
  text-decoration: underline;
}

.call-campaign-page .btn-view-modern {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(102, 126, 234, 0.12);
  color: #667eea;
  text-decoration: none;
  transition: all 0.2s;
}

.call-campaign-page .btn-view-modern:hover {
  background: rgba(102, 126, 234, 0.2);
  color: #764ba2;
}

@media (max-width: 768px) {
  .call-campaign-header {
    padding: 35px 15px;
  }
  .call-campaign-header .header-content {
    flex-direction: column;
    text-align: center;
  }
  .call-campaign-page .filter-grid {
    grid-template-columns: 1fr;
  }
  .call-campaign-page .filter-actions {
    flex-direction: column;
  }
  .call-campaign-page .btn-search-modern,
  .call-campaign-page .btn-reset-modern {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .call-campaign-header .header-icon-wrapper {
    width: 60px;
    height: 60px;
  }
  .call-campaign-header .header-icon-wrapper i {
    font-size: 30px;
  }
}

/* Add Template Page */
.add-template-page {
  padding: 0;
  background: #f8f9fa;
}

.add-template-header {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 40px 30px;
  overflow: hidden;
}

.add-template-header .header-background-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.add-template-header .header-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 24px;
}

.add-template-header .header-icon-wrapper {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.add-template-header .header-icon-wrapper i {
  font-size: 36px;
  color: white;
}

.add-template-header .header-text {
  flex: 1;
}

.add-template-header .page-title {
  font-size: 28px;
  font-weight: 700;
  color: white;
  margin: 0 0 6px 0;
}

.add-template-header .page-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.add-template-page .btn-back-modern {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.add-template-page .btn-back-modern:hover {
  background: rgba(255, 255, 255, 0.3);
  color: white;
  text-decoration: none;
  border-color: white;
}

.add-template-page .add-template-form-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  margin-bottom: 24px;
  overflow: hidden;
}

.add-template-page .form-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 25px;
  background: #fafafa;
  border-bottom: 2px solid #f0f0f0;
}

.add-template-page .form-card-header i {
  font-size: 24px;
  color: #667eea;
}

.add-template-page .form-card-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.add-template-page .form-card-body {
  padding: 25px;
}

.add-template-page .form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.add-template-page .form-group-modern {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.add-template-page .form-group-modern label {
  font-size: 14px;
  font-weight: 600;
  color: #555;
}

.add-template-page .form-group-modern label i {
  color: #667eea;
  margin-right: 4px;
}

.add-template-page .form-input-modern {
  padding: 5px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.add-template-page .form-input-modern:focus {
  outline: none;
  border-color: #667eea;
}

.add-template-page .form-textarea-modern {
  padding: 5px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  width: 100%;
  min-height: 150px;
  resize: vertical;
  transition: border-color 0.2s;
}

.add-template-page .form-textarea-modern:focus {
  outline: none;
  border-color: #667eea;
}

.add-template-page .variables-section {
  margin-bottom: 24px;
  padding: 16px;
  background: rgba(102, 126, 234, 0.06);
  border-radius: 10px;
  border-left: 4px solid #667eea;
}

.add-template-page .variables-section label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  margin-bottom: 12px;
}

.add-template-page .variable-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.add-template-page .btn-variable-modern {
  padding: 6px 14px;
  border: 2px solid #667eea;
  background: white;
  color: #667eea;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.add-template-page .btn-variable-modern:hover {
  background: #667eea;
  color: white;
}

.add-template-page .lang-section {
  margin-bottom: 20px;
}

.add-template-page .lang-radio-group {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.add-template-page .lang-radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 500;
}

.add-template-page .lang-radio-label input {
  margin: 0;
}

.add-template-page .textarea-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 13px;
  color: #888;
}

.add-template-page .form-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.add-template-page .btn-submit-modern {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
}

.add-template-page .btn-submit-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.add-template-page .btn-cancel-modern {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #f0f0f0;
  color: #666;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.add-template-page .btn-cancel-modern:hover {
  background: #e0e0e0;
  color: #333;
  text-decoration: none;
}

@media (max-width: 768px) {
  .add-template-header {
    padding: 35px 15px;
  }
  .add-template-header .header-content {
    flex-direction: column;
    text-align: center;
  }
  .add-template-page .form-grid {
    grid-template-columns: 1fr;
  }
  .add-template-page .form-actions {
    flex-direction: column;
  }
  .add-template-page .btn-submit-modern,
  .add-template-page .btn-cancel-modern {
    width: 100%;
    justify-content: center;
  }
}

/* Campaigns Logs Page */
.campaigns-logs-page {
  padding: 0;
  background: #f8f9fa;
}

.campaigns-logs-header {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 40px 30px;
  overflow: hidden;
}

.campaigns-logs-header .header-background-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.campaigns-logs-header .header-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 24px;
}

.campaigns-logs-header .header-icon-wrapper {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.campaigns-logs-header .header-icon-wrapper i {
  font-size: 36px;
  color: white;
}

.campaigns-logs-header .header-text {
  flex: 1;
}

.campaigns-logs-header .page-title {
  font-size: 28px;
  font-weight: 700;
  color: white;
  margin: 0 0 6px 0;
}

.campaigns-logs-header .page-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.campaigns-logs-header .btn-back-modern {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 25px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.campaigns-logs-header .btn-back-modern:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: white;
  color: white;
  text-decoration: none;
}

.campaign-log-detail-page .campaign-summary-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  margin-bottom: 24px;
  overflow: hidden;
}
.campaign-log-detail-page .summary-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 25px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 2px solid #e0e0e0;
}
.campaign-log-detail-page .summary-card-header i { font-size: 22px; color: #667eea; }
.campaign-log-detail-page .summary-card-header h3 { font-size: 18px; font-weight: 700; color: #333; margin: 0; }
.campaign-log-detail-page .summary-card-body { padding: 20px 25px; }
.campaign-log-detail-page .summary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.campaign-log-detail-page .summary-table thead th {
  background: #f8f9fa;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: #495057;
  border: 1px solid #e9ecef;
}
.campaign-log-detail-page .summary-table tbody td {
  padding: 12px 16px;
  border: 1px solid #e9ecef; 
}
.campaign-log-detail-page .summary-table .message-row td {
  background: #fafbfc;
  padding: 16px;
}

.campaign-log-detail-page .campaign-table-card .table-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 25px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 2px solid #e0e0e0;
}
.campaign-log-detail-page .campaign-table-card .table-card-header i { font-size: 22px; color: #667eea; }
.campaign-log-detail-page .campaign-table-card .table-card-header h3 { font-size: 18px; font-weight: 700; color: #333; margin: 0; }

.campaigns-logs-page .campaign-filter-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  margin-bottom: 24px;
  overflow: hidden;
}

.campaigns-logs-page .filter-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 25px;
  background: #fafafa;
  border-bottom: 2px solid #f0f0f0;
}

.campaigns-logs-page .filter-card-header i {
  font-size: 24px;
  color: #667eea;
}

.campaigns-logs-page .filter-card-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.campaigns-logs-page .filter-card-body {
  padding: 25px;
}

.campaigns-logs-page .filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.campaigns-logs-page .filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.campaigns-logs-page .filter-group label {
  font-size: 14px;
  font-weight: 600;
  color: #555;
}

.campaigns-logs-page .filter-group label i {
  color: #667eea;
  margin-right: 4px;
}

.campaigns-logs-page .filter-group .form-input-modern {
  padding: 5px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.campaigns-logs-page .filter-group .form-input-modern:focus {
  outline: none;
  border-color: #667eea;
}

.campaigns-logs-page .filter-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.campaigns-logs-page .btn-search-modern,
.campaigns-logs-page .btn-download-modern,
.campaigns-logs-page .btn-reset-modern {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.campaigns-logs-page .btn-search-modern {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.campaigns-logs-page .btn-search-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.campaigns-logs-page .btn-download-modern {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  color: #155724;
}

.campaigns-logs-page .btn-download-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(67, 233, 123, 0.4);
}

.campaigns-logs-page .btn-reset-modern {
  background: #f0f0f0;
  color: #666;
}

.campaigns-logs-page .btn-reset-modern:hover {
  background: #e0e0e0;
  color: #333;
  text-decoration: none;
}

.campaigns-logs-page .campaign-table-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  padding: 0;
  overflow: hidden;
}

.campaigns-logs-page .campaign-table-modern thead th {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 14px 12px;
  font-weight: 600;
  border: none;
}

.campaigns-logs-page .campaign-table-modern tbody td {
  padding: 12px;
  vertical-align: middle;
}

.campaigns-logs-page .campaign-table-modern tbody tr:hover {
  background: rgba(102, 126, 234, 0.05);
}

.campaigns-logs-page .campaign-name-link {
  color: #667eea;
  font-weight: 600;
  text-decoration: none;
}

.campaigns-logs-page .campaign-name-link:hover {
  color: #764ba2;
  text-decoration: underline;
}

.campaigns-logs-page .label-report {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
}

.campaigns-logs-page .label-primary.label-report {
  background: rgba(102, 126, 234, 0.15);
  color: #667eea;
}

.campaigns-logs-page .label-primary.label-report:hover {
  background: rgba(102, 126, 234, 0.25);
}

@media (max-width: 768px) {
  .campaigns-logs-header {
    padding: 35px 15px;
  }
  .campaigns-logs-header .header-content {
    flex-direction: column;
    text-align: center;
  }
  .campaigns-logs-page .filter-grid {
    grid-template-columns: 1fr;
  }
  .campaigns-logs-page .filter-actions {
    flex-direction: column;
  }
  .campaigns-logs-page .btn-search-modern,
  .campaigns-logs-page .btn-download-modern,
  .campaigns-logs-page .btn-reset-modern {
    width: 100%;
    justify-content: center;
  }
}

/* Graphical Representation (Short URL List) Page */
.graphical-repr-page {
  padding: 0;
  background: #f8f9fa;
}

.graphical-repr-header {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 40px 30px;
  overflow: hidden;
}

.graphical-repr-header .header-background-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.graphical-repr-header .header-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 24px;
}

.graphical-repr-header .header-icon-wrapper {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.graphical-repr-header .header-icon-wrapper i {
  font-size: 36px;
  color: white;
}

.graphical-repr-header .header-text {
  flex: 1;
}

.graphical-repr-header .page-title {
  font-size: 28px;
  font-weight: 700;
  color: white;
  margin: 0 0 6px 0;
}

.graphical-repr-header .page-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.graphical-repr-page .graphical-repr-table-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  padding: 0;
  overflow: hidden;
}

.graphical-repr-page .graphical-table-modern thead th {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 14px 12px;
  font-weight: 600;
  border: none;
}

.graphical-repr-page .graphical-table-modern tbody td {
  padding: 12px;
  vertical-align: middle;
}

.graphical-repr-page .graphical-table-modern tbody tr:hover {
  background: rgba(102, 126, 234, 0.05);
}

.graphical-repr-page .short-url-code {
  font-size: 12px;
  background: rgba(102, 126, 234, 0.08);
  padding: 4px 8px;
  border-radius: 6px;
  color: #555;
}

.graphical-repr-page .btn-graphical-modern {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(102, 126, 234, 0.12);
  color: #667eea;
  text-decoration: none;
  transition: all 0.2s;
}

.graphical-repr-page .btn-graphical-modern:hover {
  background: rgba(102, 126, 234, 0.2);
  color: #764ba2;
  text-decoration: none;
}

@media (max-width: 768px) {
  .graphical-repr-header {
    padding: 35px 15px;
  }
  .graphical-repr-header .header-content {
    flex-direction: column;
    text-align: center;
  }
}

/* URL Representation (Graphical Report) Page */
.url-repr-page {
  padding: 0;
  background: #f8f9fa;
}

.url-repr-header {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 40px 30px;
  overflow: hidden;
}

.url-repr-header .header-background-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.url-repr-header .header-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 24px;
}

.url-repr-header .header-icon-wrapper {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.url-repr-header .header-icon-wrapper i {
  font-size: 36px;
  color: white;
}

.url-repr-header .header-text {
  flex: 1;
}

.url-repr-header .page-title {
  font-size: 28px;
  font-weight: 700;
  color: white;
  margin: 0 0 6px 0;
}

.url-repr-header .page-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.url-repr-page .btn-back-modern {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.url-repr-page .btn-back-modern:hover {
  background: rgba(255, 255, 255, 0.3);
  color: white;
  text-decoration: none;
  border-color: white;
}

.url-repr-page .url-repr-iframe-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.url-repr-page .iframe-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 25px;
  background: #fafafa;
  border-bottom: 2px solid #f0f0f0;
}

.url-repr-page .iframe-card-header i {
  font-size: 24px;
  color: #667eea;
}

.url-repr-page .iframe-card-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin: 0;
  flex: 1;
}

.url-repr-page .btn-open-new {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  background: rgba(102, 126, 234, 0.12);
  color: #667eea;
  text-decoration: none;
  transition: all 0.2s;
}

.url-repr-page .btn-open-new:hover {
  background: rgba(102, 126, 234, 0.2);
  color: #764ba2;
  text-decoration: none;
}

.url-repr-page .iframe-container {
  padding: 20px;
  min-height: 620px;
}

.url-repr-page .iframe-container iframe {
  display: block;
  border-radius: 8px;
  background: #f8f9fa;
}

@media (max-width: 768px) {
  .url-repr-header {
    padding: 35px 15px;
  }
  .url-repr-header .header-content {
    flex-direction: column;
    text-align: center;
  }
  .url-repr-page .iframe-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .url-repr-page .btn-open-new {
    width: 100%;
    justify-content: center;
  }
}

/* Dynamic SMS (Variables) Page */
.dynamic-sms-page {
  padding: 0 20px 20px;
  background: #f8f9fa;
}

/* dynamic-sms-page .sms-page-header uses shared styles from .sms-page-header block above */

.dynamic-sms-page .btn-back-modern {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 25px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}
.dynamic-sms-page .btn-back-modern:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: white;
  color: white;
  text-decoration: none;
}

.dynamic-sms-page .badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.dynamic-sms-page .sms-form-container {
  max-width: 1100px;
  margin: 0 auto;
}

.dynamic-sms-page .alert-container-modern {
  max-width: 1100px;
  margin: 0 auto 25px;
}

.dynamic-sms-page .alert-modern {
  padding: 14px 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dynamic-sms-page .alert-success-modern {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
}

.dynamic-sms-page .alert-danger-modern {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
}

.dynamic-sms-page .form-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  margin-bottom: 24px;
  overflow: hidden;
}

.dynamic-sms-page .card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 25px;
  background: #fafafa;
  border-bottom: 2px solid #f0f0f0;
}

.dynamic-sms-page .card-header i {
  font-size: 22px;
  color: #667eea;
}

.dynamic-sms-page .card-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #333;
}

.dynamic-sms-page .char-info {
  font-size: 13px;
  color: #888;
}

.dynamic-sms-page .card-body {
  padding: 25px;
}

.dynamic-sms-page .form-row-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.dynamic-sms-page .form-group-modern {
  margin-bottom: 0;
}

.dynamic-sms-page .form-label-modern {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  margin-bottom: 8px;
}

.dynamic-sms-page .form-label-modern i {
  color: #667eea;
}

.dynamic-sms-page .form-select-modern {
  width: 100%;
  padding: 5px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.dynamic-sms-page .form-select-modern:focus {
  outline: none;
  border-color: #667eea;
}

.dynamic-sms-page .variables-section {
  margin-bottom: 20px;
}

.dynamic-sms-page .variables-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  margin-bottom: 12px;
}

.dynamic-sms-page .variables-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dynamic-sms-page .variable-btn {
  padding: 8px 14px;
  border: 2px solid #667eea;
  background: #fff;
  color: #667eea;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dynamic-sms-page .variable-btn:hover {
  background: #667eea;
  color: #fff;
}

.dynamic-sms-page .message-textarea-modern {
  width: 100%;
  padding: 5px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  min-height: 150px;
  resize: vertical;
}

.dynamic-sms-page .message-textarea-modern:focus {
  outline: none;
  border-color: #667eea;
}

.dynamic-sms-page .message-counter {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 13px;
  color: #888;
}

.dynamic-sms-page .recipient-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.dynamic-sms-page .tab-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #f0f0f0;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  transition: all 0.2s;
}

.dynamic-sms-page .tab-button:hover {
  background: #e8e8e8;
}

.dynamic-sms-page .tab-button.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: #667eea;
  color: #fff;
}

.dynamic-sms-page .file-upload-area {
  border: 2px dashed #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: all 0.2s;
  position: relative;
}

.dynamic-sms-page .file-upload-area:hover,
.dynamic-sms-page .file-upload-area.drag-over {
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.05);
}

.dynamic-sms-page .file-upload-area i {
  font-size: 40px;
  color: #667eea;
  display: block;
  margin-bottom: 12px;
}

.dynamic-sms-page .file-upload-area .upload-text {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.dynamic-sms-page .file-upload-area .upload-hint {
  font-size: 13px;
  color: #888;
  margin-bottom: 16px;
}

.dynamic-sms-page .btn-upload-trigger {
  padding: 10px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.dynamic-sms-page .downloadlink {
  color: #667eea;
  text-decoration: none;
}

.dynamic-sms-page .form-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.dynamic-sms-page .btn-send-modern {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
}

.dynamic-sms-page .btn-send-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.dynamic-sms-page .btn-cancel-modern {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: #f0f0f0;
  color: #666;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.dynamic-sms-page .btn-cancel-modern:hover {
  background: #e0e0e0;
  color: #333;
}

.dynamic-sms-page .language-toggle-wrapper {
  margin-top: 4px;
}

.dynamic-sms-page .language-toggle-container {
  position: relative;
  display: inline-flex;
  width: 280px;
  height: 52px;
  background: #e8e8e8;
  border-radius: 26px;
  padding: 4px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08);
  border: 2px solid #e0e0e0;
}

.dynamic-sms-page .language-radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.dynamic-sms-page .language-toggle-slider {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  z-index: 1;
}

.dynamic-sms-page .language-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #888;
  cursor: pointer;
  border-radius: 22px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.dynamic-sms-page .language-option:hover {
  color: #555;
}

.dynamic-sms-page .language-option.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.35);
}

.dynamic-sms-page .language-option.active:hover {
  color: #fff !important;
}

@media (max-width: 768px) {
  .sms-page-header .header-content,
  .dynamic-sms-page .sms-page-header .header-content {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
    gap: 16px;
  }
  .sms-page-header .header-stats,
  .dynamic-sms-page .sms-page-header .header-stats {
    margin-left: 0;
    justify-content: center;
  }
  .sms-page-header .header-content h1,
  .dynamic-sms-page .sms-page-header .header-content h1 {
    font-size: 24px !important;
  }
  .dynamic-sms-page .form-row-modern {
    grid-template-columns: 1fr;
  }
  .dynamic-sms-page .form-actions {
    flex-direction: column;
  }
  .dynamic-sms-page .btn-send-modern,
  .dynamic-sms-page .btn-cancel-modern {
    width: 100%;
    justify-content: center;
  }
}