/*==== Developed by OPTIMUM LINKUP COMPUER == */



/*==== Developed by OPTIMUM LINKUP COMPUER : CSS VARRIABLES== */
:root {
	--color-green: #55c57a;
	--color-green-light: #7ed56f;
	--color-green-dark: #28b485;
	--color-silver:#e4e7ea;
	--color-white:#fff;
	--color-black:#000;
	--color-silver-2:#54667a;
	--color-silver-3:#f1f1f4;
	--color-silver-4:#999;

}

html{
	font-size: 10px;
	font-weight: 400;
}

body {
	font-family: "Poppins", sans-serif;
}

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

/*==== Developed by OPTIMUM LINKUP COMPUER : STYLE SIGNUP AND LOGIN FORM == */

.signup-container {
	display: flex;
	display: -webkit-flex;
	height: 100%;
	height: 100vh;
}

.account-left {
	width: 70%;
	background-image: linear-gradient(to right bottom, rgba(40, 180, 133, .90)50%, transparent 50%), url(../images/account-bgc.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
}

.account-text{
	position: absolute;
	top: 20%;
	left: 40%;
	transform: translate(-50%, -50%);
	font-size: 1.5rem;
	color: var(--color-white);

}

.account-right {
	width: 30%;
	position: relative;
}

.form-area {
	width: 80%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
}

.group{

	margin-bottom: 1.5rem;
}

.control{
	width: 100%;
	display: block;
	padding: 1.1rem 1rem;
	border-radius: 1px;
	border: 1px solid var(--color-silver);
	transition: all 1s;
}

.control:focus {
	outline: none;
	border: 1px solid var(--color-green-dark);
}

.file{
	display: none;
}

#file-label{
	display: block;
	width: 100%;
	padding: 1.1rem 1rem;
	border: 1px solid var(--color-silver);
	border-radius: 3px;
	font-size: 1.2rem;
	text-align: left;

}

#file-label:hover{
	cursor: pointer;
}

.btn{
	display: block;
	padding: 1.2rem .9rem;
	font-size: 1.5rem;
	border-radius: 3rem;
	text-transform: uppercase;
	border: 0px;
	color: var(--color-white);
}

.account-btn {
	width: 100%;
	background: linear-gradient(to right, var(--color-green-light), var(--color-green-dark));
	box-shadow: 0 .8rem .6rem -.6px
}

.account-btn:hover{
	cursor: pointer;
}
.upload-icon{

	margin-right: 1.5rem;
	font-size: 1.7rem;
	color: var(--color-green-dark);

}

.form-heading{

	text-transform: uppercase;
	font-size: 2rem;
	font-weight: 400;
	border-bottom: 1rem solid var(--color-green-silver);
	padding-bottom: 1.5rem;
	letter-spacing: .2rem;
	text-align: left;
	color: #999;
}

.link{
	color: #999;
	display: block;
	font-size: 1.5rem;
	text-decoration: none;
	text-align: center;
	font-weight: 200;
	padding-top: 1.5rem;
}

.prof{
	color: #999;
	font-size: 1.5rem;
	text-decoration: none;
	font-weight: 200;
	text-align: right;
	padding-top: 1.5rem;
}

.prof2{
	color: #999;
	font-size: 1.5rem;
	text-decoration: none;
	font-weight: 200;
	text-align: left;
	padding-top: 1.5rem;
}

.reset{
	color: #999;
	display: block;
	font-size: 1.2rem;
	text-decoration: none;
	text-align: right;
	font-weight: 100;
	padding-top: 1rem;
}


/*==== Developed by OPTIMUM LINKUP COMPUER : STYLE CHAT AREA == */
#nav{
	width: 100%;
	height: 10vh;
	background: linear-gradient(to right, var(--color-green-light), var(--color-green-dark));
	box-shadow: 0px 1px 3px 1px rgba(0,0,0,0.5);
	position: relative;

}

.chat-container{
	display: flex;
}

#sidebar{
	width: 20%;
	height: 90vh;
	background-color: var(--color-white);
	box-shadow: .8rem 0 .6rem rgba(0,0,0,0.5);	
	position: relative;
}

#sidebar::before{
position: absolute;
content: "Profile";
width: 100%;
height: 10vh;
top:-10vh;
background: linear-gradient(to right, var(--color-green-light), var(--color-green-dark));
	box-shadow: 0px 1px 3px 1px rgba(0,0,0,0.5);
box-shadow: 3px -2px 5px 0px rgba(0,0,0,0.2);
line-height: 10vh;
text-align: center;
font-size: 1.5rem;
color: var(--color-white);
}

.left-ul{
	margin: 3rem 0;
	padding: 0;
}
.left-ul li {
	list-style: none;
}

.left-ul li a {
	text-decoration: none;
	display: block;
	padding: 1.5rem 0;
	text-align: center;
	font-size: 1.3rem;
	color: var(--color-silver-2);
	position: relative;
}

.profile-img-span{
display: block;
width: 8rem;
height: 8rem;
border-radius: 50%;	
margin: 0 auto;
overflow: hidden;


}

.profile-img-span:hover .profile-img{
	transform: scale(1.5);
}


.profile-img{
	width: 8rem;
	height: 8rem;
	border-radius: 50%;
	transition: all .3s;

}

.left-ul li:not(:first-child):hover {
background: linear-gradient(to right, var(--color-green-light), var(--color-green-light));

}

.left-ul li:hover a{
	color: var(--color-white);
}

.cool-hover{
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 100%;
	background-color: rgb(0,0,0,0.2);
	transition: all .3s;
}

.left-ul li:hover .cool-hover{
	width: 100%;
}


#right-area{
	width: 80%;
	background-color: white;
}

.messages{
	width: 100%;
	height: 75vh;
	padding: 2rem;
	overflow-x: hidden;
	overflow-y: sroll; 

}

.left-message{
	display: flex;
	width: 50%;
}

.sender-img-block{
width: 4rem;
height: 4rem;
border-radius: 50%;
position: relative;
}

.online-icon{
	position: absolute;
	top: 0;
	right: 0;
	width: 1.2rem;
	height: 1.2rem;
	background-color: var(--color-green-dark);
	display: block;
	border-radius: 50%;
	border: 2px solid var(--color-white);
}


.offline-icon{
position: absolute;
	top: 0;
	right: 0;
	width: 1.2rem;
	height: 1.2rem;
	background-color: red;
	display: block;
	border-radius: 50%;
	border: 2px solid var(--color-white);

}

.sender-img{
	width: 4rem;
	height: 4rem;
	border-radius: 50%;
}

.left-msg-area{
	margin-left: 2rem;
}

.sender-name{
	font-weight: 500;
	font-size: 1.1rem;
	color: var(--color-silver-4);


}

.date-time{
	margin-left: 2rem;
	color: var(--color-silver-4);
}

.common-margin{
	margin-top: 1.5rem;
}

.left-msg{
	padding: 1rem;
	width: auto;
	background: linear-gradient(to right, var(--color-green-light), var(--color-green-light));
	color: var(--color-white);
	border-top-right-radius: .5rem;
	border-bottom-right-radius: .5rem;
	border-bottom-left-radius: .5rem;
	margin-top: .3rem;
	position: relative;
	font-size: 1.2rem;
}

.left-msg:before{
	position: absolute;
	content: "";
	top: 0;
	left: -.7rem;
	width: 0;
	height: 0;
	border-top: .7rem solid var(--color-green-light);
	border-left: .7rem solid transparent;

}

.right-messages{
	display: flex;
	justify-content:flex-end;

}

.right-msg-area{
	max-width: 50%;
	width: auto;
}

.right-msg{
	padding: 1rem;
	width: auto;
	background-color: var(--color-silver-3);
	color: var(--color-white);
	border-top-right-radius: .5rem;
	border-bottom-right-radius: .5rem;
	border-bottom-left-radius: .5rem;
	margin-top: .3rem;
	color: var(--color-black);
	font-size: 1.2rem;
}

.right-time{
	display: block;
	text-align: right;
}

.chat-form{
	width: 100%;
	height: 10vh;
	border-top: 1px solid var(--color-silver-3);
}

.chat-container{

	display: flex;
}

.form-input{
	width: 50%;
}


.textarea-control{
width: 100%;
border: 0;
padding: 1rem 2rem;
height: 5rem;
resize: none;
margin-left: .5rem;
}

.textarea-control:focus{
	outline: none;
}

.files-upload{
	display: none;
}

#upload-label{
	width: 100%;
	height: 5rem;
	line-height: 5.5rem;
	text-align: center;
	display: block;
}

.fa-uploads{
	font-size: 1.8rem;
	margin-left: 3rem;
	color: var(--color-silver-4);
}


::-webkit-input-placeholder{
	font-family: "Poppins", sans-serif;
	font-size: 1.2rem;
	font-weight: 300;
	letter-spacing: 2px;
}

#upload-label:hover{
cursor: pointer;
}

.emoji{
	height: 5vh;
	width: 100%;
	text-align: left;
}

.emoji-same{
	width: 2rem;
	height: 2rem;
	margin-left: 1rem;
}

.emoji-same:hover{
	cursor: pointer;
}

.form-section{
	padding: 3rem;
}

.form-grid{
	width: 35%;
}

.custom-bars{
	position: absolute;
	float: right;
	font-size: 1.8rem;
	color: var(--color-white);
	right: 3rem;
	top: 33%;
}

.custom-bars:hover{
	cursor: pointer;
}


.bars{
	display: none;
}

/*=== Form Errors === */
.error{
	color: red;
	text-align: left;
	font-size: 1.2rem;
	margin-top: 5px;
}


/*=== DESIGN SCROLL BAR ===*/

.messages::-webkit-scrollbar{
	width: 1rem;
	background-color: var(--color-silver-3);
}

.messages::-webkit-scrollbar-thumb{
	background-color: #888;
	border-radius: 1rem;
}


/*==== Developed by OPTIMUM LINKUP COMPUER : STYLE SIGNUP AND LOGIN FORM RESPONSIVE == */

@media (max-width: 765px){

	.account-left {
		display: none;
	}
	.account-right {
		width: 100%;
	}

	.chat-container{
		flex-wrap: wrap;
	}

	.bars{
		display: block;
	}

	#sidebar{
		width: 100%;
		display: none;
	}

	#right-area{
		width: 100%;
	}

	#sidebar:before:{
		width: 30%;
	}

	.left-message{
		max-width: 100%;
		width: auto;
	}

	.right-msg-area{
		max-width: 90%;
		width: auto;
	}

	.messages{
		height: 70vh;
	}

	::-webkit-input-placeholder{
		font-size: 9rem;
		font-family: sans-serif;
		color: var(--color-black);
	}

	.form-grid{
		width: 100%;
	}
}


    :root{
      --left-start:#4facfe;
      --left-end:#0066cc;
      --accent:#0052a3;
      --input-border:#e6e9eb;
      --muted:#7a8a96;
    }
    *{box-sizing:border-box;margin:0;padding:0}
    html,body{height:100%;width:100%;font-family:Inter,system-ui,Segoe UI,Roboto,Arial;background:#f3f7fa}
    .card{
      display:flex;
      height:100vh;
      width:100vw;
      position:relative;
    }
    
    /* Video background */
    #bg-video {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      z-index: -1;
      object-fit: cover;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      pointer-events: none;
    }
    
    /* Mobile video background optimization */
    @media(max-width: 768px) {
      #bg-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
      }
    }
    
    /* Fallback background */
    body {

      background-attachment: fixed;
      margin: 0;
      padding: 0;
      overflow-x: hidden;
    }
    
    /* Full width panel */
    .panel-right{
      flex: 1;
      width: 100%;
      padding: 60px;
      background: rgba(255, 255, 255, 0.95);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      backdrop-filter: blur(10px);
      box-shadow: 0 0 30px rgba(0,0,0,0.1);
      min-height: 100vh;
    }
    
    /* Mobile panel adjustments */
    @media(max-width: 768px) {
      .panel-right {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        box-shadow: 0 0 20px rgba(0,0,0,0.15);
      }
    }
    .panel-right h2{font-size:26px;font-weight:800;margin-bottom:-1px;color:#222;text-align:center}
    .panel-right p{font-size:14px;color:#555;text-align:center;margin-bottom:30px}
    .form-row{margin-bottom:20px}
    label{display:block;font-size:13px;font-weight:600;margin-bottom:8px;color:#333}
    .input{
      width:100%;
      padding:14px;
      border:1px solid var(--input-border);
      border-radius:8px;
      font-size:14px;
    }
    .input:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px rgba(0,82,163,.2)}
    .actions{margin-top:10px}
    .btn{
      width:100%;
      padding:14px;
      border:none;
      border-radius:10px;
      font-size:15px;
      font-weight:700;
      cursor:pointer;
      background:linear-gradient(90deg,var(--accent),#003366);
      color:#fff;
      transition:0.2s ease-in-out;
    }
    .btn:hover{opacity:0.9}
    .links{margin-top:12px;display:flex;justify-content:space-between;font-size:13px;color:var(--muted)}
    .links a{color:var(--muted);text-decoration:none}
    .links a:hover{color:#0066cc}
    .small-note{text-align:center;margin-top:20px;font-size:13px;color:var(--muted)}
    #recoverform{display:none}
    /* Mobile Responsive Styles */
    @media(max-width: 768px){
      .card {
        height: 100vh;
        width: 100vw;
        overflow-x: hidden;
      }
      
      .panel-right {
        padding: 20px 15px;
        width: 100%;
        min-height: 100vh;
        justify-content: center;
      }
      
      .login-box {
        width: 100%;
        max-width: 100%;
        padding: 30px 20px;
        margin: 0;
        border-radius: 15px;
      }
      
      .login-header h2 {
        font-size: 24px;
        margin-bottom: 8px;
      }
      
      .login-header p {
        font-size: 13px;
        margin-bottom: 25px;
      }
      
      .input-group {
        margin-bottom: 18px;
      }
      
      .input {
        padding: 12px 16px 12px 45px;
        font-size: 16px; /* Prevents zoom on iOS */
        -webkit-appearance: none;
        border-radius: 12px;
      }
      
      .input::placeholder {
        font-size: 16px;
        color: #64748b;
        opacity: 0.9;
        font-weight: 400;
      }
      
      .btn {
        padding: 16px;
        font-size: 16px;
        margin-top: 20px;
      }
      
      .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 20px;
      }
      
      .forgot-link {
        align-self: flex-end;
      }
      
      .login-footer {
        margin-top: 20px;
      }
      
      .login-footer p {
        font-size: 13px;
      }
    }
    
    @media(max-width: 480px){
      .panel-right {
        padding: 15px 10px;
      }
      
      .login-box {
        padding: 25px 15px;
        border-radius: 12px;
      }
      
      .login-header h2 {
        font-size: 22px;
      }
      
      .login-header p {
        font-size: 12px;
      }
      
      .input {
        padding: 14px 16px 14px 45px;
        -webkit-appearance: none;
        border-radius: 10px;
      }
      
      .input::placeholder {
        font-size: 14px;
        color: #64748b;
        opacity: 0.9;
      }
      
      .btn {
        padding: 18px;
      }
    }
    
    @media(max-width: 360px){
      .login-box {
        padding: 20px 12px;
      }
      
      .login-header h2 {
        font-size: 20px;
      }
      
      .input {
        padding: 12px 14px 12px 40px;
        font-size: 14px;
        -webkit-appearance: none;
        border-radius: 8px;
      }
      
      .input::placeholder {
        font-size: 13px;
        color: #64748b;
        opacity: 0.9;
        font-weight: 400;
      }
      
      .input-wrapper i {
        left: 14px;
        font-size: 14px;
      }
    }

/* Mobile override: show page background and keep content boxes white */
@media (max-width: 768px) {
  /* Make right panel transparent so the page background/video is visible on mobile */
  .panel-right {
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    padding: 18px 12px !important;
    min-height: auto !important;
  }

  /* Keep the login/box content white and elevated for contrast */
  .login-box, .panel.panel-info {
    background: #ffffff !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08) !important;
    border-radius: 14px !important;
    padding: 20px !important;
  }

  /* Ensure table panels keep padding and rounded corners on mobile */
  .panel.panel-info .panel-body.table-responsive {
    padding: 12px !important;
  }

  /* Footer responsiveness: keep it at the bottom of its panel and center text */
  footer, .panel-left footer, .login-footer {
    position: relative !important;
    bottom: auto !important;
    text-align: center !important;
    padding: 10px 0 !important;
    font-size: 13px !important;
  }

}
    
    /* Touch-friendly improvements */
    @media(max-width: 768px) {
      .btn {
        min-height: 48px; /* Minimum touch target size */
        touch-action: manipulation;
      }
      
      .input {
        min-height: 48px;
        touch-action: manipulation;
        -webkit-appearance: none;
        -webkit-border-radius: 12px;
        border-radius: 12px;
      }
      
      .input:focus {
        -webkit-appearance: none;
        outline: none;
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
      }
      
      .toggle-password {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      
      .remember-me {
        min-height: 44px;
        display: flex;
        align-items: center;
      }
      
      .forgot-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 8px 0;
      }
    }
    
    /* Landscape mobile optimization */
    @media(max-width: 768px) and (orientation: landscape) {
      .panel-right {
        padding: 10px 15px;
        justify-content: flex-start;
        padding-top: 20px;
      }
      
      .login-box {
        padding: 20px 15px;
        max-width: 500px;
        margin: 0 auto;
      }
      
      .login-header h2 {
        font-size: 20px;
        margin-bottom: 5px;
      }
      
      .login-header p {
        font-size: 12px;
        margin-bottom: 15px;
      }
      
      .input-group {
        margin-bottom: 12px;
      }
      
      .form-options {
        margin-bottom: 15px;
      }
    }

    /* New Login Box Styles */
    
    .login-box {
      width: 100%;
      max-width: 450px;
      background: #ffffff;
      border-radius: 20px;
      padding: 40px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

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

    .login-header h2 {
      font-size: 28px;
      font-weight: 700;
      color: #1a237e;
      margin-bottom: 12px;
    }

    .login-header p {
      font-size: 14px;
      color: #64748b;
      line-height: 1.6;
    }

    .login-header p span {
      color: #1976D2;
      font-weight: 600;
    }

    .input-group {
      margin-bottom: 20px;
    }

    .input-group label {
      display: block;
      font-size: 14px;
      font-weight: 600;
      color: #333;
      margin-bottom: 8px;
    }

    .input-wrapper {
      position: relative;
    }

    .input-wrapper i {
      position: absolute;
      left: 16px;
      top: 50%;
      transform: translateY(-50%);
      color: #94a3b8;
      font-size: 16px;
    }

    .input-wrapper .toggle-password {
      left: auto;
      right: 16px;
      cursor: pointer;
    }

    .input {
      width: 100%;
      padding: 14px 16px 14px 45px;
      border: 2px solid #e2e8f0;
      border-radius: 12px;
      font-size: 14px;
      color: #1e293b;
      transition: all 0.3s ease;
      background: #fff;
    }

    .input:focus {
      border-color: #2563eb;
      box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    }

    .input::placeholder {
      color: #94a3b8;
      font-size: 14px;
      transition: all 0.3s ease;
    }
    
    /* Mobile placeholder optimization */
    @media(max-width: 768px) {
      .input::placeholder {
        font-size: 16px; /* Prevents zoom on iOS */
        color: #64748b;
        opacity: 0.8;
      }
    }
    
    @media(max-width: 480px) {
      .input::placeholder {
        font-size: 14px;
        color: #64748b;
      }
    }
    
    @media(max-width: 360px) {
      .input::placeholder {
        font-size: 13px;
        color: #64748b;
      }
    }
    
    /* Placeholder focus states */
    .input:focus::placeholder {
      color: #cbd5e1;
      transform: translateY(-2px);
    }
    
    /* Webkit placeholder styling */
    .input::-webkit-input-placeholder {
      color: #94a3b8;
      font-size: 14px;
      transition: all 0.3s ease;
    }
    
    .input::-moz-placeholder {
      color: #94a3b8;
      font-size: 14px;
      opacity: 1;
    }
    
    .input:-ms-input-placeholder {
      color: #94a3b8;
      font-size: 14px;
    }
    
    .input:-moz-placeholder {
      color: #94a3b8;
      font-size: 14px;
      opacity: 1;
    }

    .form-options {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 24px;
    }

    .remember-me {
      display: flex;
      align-items: center;
      font-size: 14px;
      color: #64748b;
      cursor: pointer;
    }

    .remember-me input[type="checkbox"] {
      margin-right: 8px;
    }

    .forgot-link {
      font-size: 14px;
      color: #2563eb;
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .forgot-link:hover {
      color: #1e40af;
    }

    .actions {
      margin-top: 24px;
    }

    .btn {
      width: 100%;
      padding: 14px;
      border: none;
      border-radius: 12px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }

    .login-btn {
      background: linear-gradient(135deg, #2563eb, #1e40af);
      color: #fff;
      box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    }

    .reset-btn {
      background: linear-gradient(135deg, #34c38f, #2a9f6f);
      color: #fff;
      box-shadow: 0 4px 15px rgba(52, 195, 143, 0.3);
    }

    .btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    }

    .login-footer {
      text-align: center;
      margin-top: 24px;
    }

    .login-footer p {
      font-size: 14px;
      color: #64748b;
    }

    .signup-link, .back-to-login {
      color: #2563eb;
      text-decoration: none;
      font-weight: 600;
      transition: color 0.3s ease;
    }

    .signup-link:hover, .back-to-login:hover {
      color: #1e40af;
    }

    .reset-header {
      text-align: center;
      margin-bottom: 24px;
    }

    .reset-header h3 {
      font-size: 24px;
      font-weight: 700;
      color: #1a237e;
      margin-bottom: 8px;
    }

    .reset-header p {
      font-size: 14px;
      color: #64748b;
    }

    #recoverform {
      display: none;
    }

    @media (max-width: 640px) {
      .login-box {
        padding: 30px 20px;
      }
      
      .panel-right {
        padding: 20px;
      }
    }

/* Strong mobile footer fixes - ensure footers are visible, centered and not overlapped */
@media (max-width: 768px) {
  footer, .panel-left footer, .login-footer {
    position: static !important;
    width: 100% !important;
    display: block !important;
    margin: 12px 0 0 !important;
    text-align: center !important;
    background: transparent !important;
    padding: 10px 8px !important;
    box-shadow: none !important;
    z-index: 5 !important;
  }

  /* Ensure panel-right overlay is removed on mobile */
  .panel-right {
    background: transparent !important;
    box-shadow: none !important;
  }

  /* If any parent container is using min-height causing overflow, reset it */
  .card, .panel-right, .panel {
    min-height: auto !important;
    overflow: visible !important;
  }
}

/* Modern action buttons used in tables (edit/delete/download) */
.modern-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:50%;
  border:none;
  cursor:pointer;
  margin:0 6px;
  color:#fff;
  font-size:14px;
  transition:transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}
.modern-btn i{pointer-events:none}
.modern-btn.edit{
  background:linear-gradient(135deg,#4DD0E1,#00ACC1);
  box-shadow:0 6px 16px rgba(77,208,225,0.18);
}
.modern-btn.delete{
  background:linear-gradient(135deg,#ff7b7b,#ff5252);
  box-shadow:0 6px 16px rgba(255,82,82,0.16);
}
.modern-btn.download{
  background:linear-gradient(135deg,#ffd54f,#ffb300);
  color:#1e293b;
  box-shadow:0 6px 16px rgba(255,181,0,0.14);
}
.modern-btn:hover{transform:translateY(-3px); box-shadow:0 10px 28px rgba(0,0,0,0.12)}
.modern-btn:active{transform:translateY(0)}
.modern-btn:focus{outline:3px solid rgba(0,132,255,0.12); outline-offset:2px}

/* Small table-friendly variants */
.modern-btn.small{width:32px;height:32px;font-size:13px;margin:0 4px}

