:root{
    --color-main:#16a34a;
    --color-button:#16a34a;
    --color-button-hover:#15803d;
    --color-link:#16a34a;
}

.header a.logo{
    background:url("../images/instagroup-logo.png") no-repeat center center;
    background-size:contain;
    width:220px;
    height:60px;
}

.header a.logo img{
    display:none;
}

.button,
.btn,
input[type=submit]{
    background:#16a34a !important;
}

.button:hover,
.btn:hover,
input[type=submit]:hover{
    background:#15803d !important;
}
:root {
    --color-main: #16a34a;
    --color-primary: #16a34a;
    --color-primary-light: #22c55e;
}

body {
    background: #f5f7fa;
}

#layout-menu,
#layout-sidebar {
    background: #0f5132 !important;
}

#layout-menu a,
#layout-sidebar a {
    color: #ffffff !important;
}

.button,
.btn,
.btn-primary,
input.button {
    background: #16a34a !important;
    border-color: #16a34a !important;
    color: #fff !important;
}

a:hover {
    color: #22c55e !important;
}
body.task-login {
    background: linear-gradient(135deg, #0f5132 0%, #16a34a 100%) !important;
}

body.task-login #layout {
    background: rgba(255,255,255,0.96);
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,.2);
    padding: 20px;
}

#logo {
    max-width: 260px !important;
    height: auto !important;
}
/* Insta Group Branding */

body {
    font-family: "Segoe UI", Arial, sans-serif;
}

/* Login card */
#login-form {
    border-radius: 18px;
}

/* Logo size */
#logo img {
    max-height: 70px;
}

/* Compose button */
#compose {
    border-radius: 25px;
    font-weight: 600;
}

/* Rounded message list */
.message {
    border-radius: 12px;
    margin: 8px 0;
}

/* Footer branding */
#layout-footer {
    font-size: 13px;
}
/* ===================================
   Insta Group Professional Branding
   =================================== */

/* Brand Colors */
:root {
    --insta-green: #0b8f3c;
    --insta-dark-green: #056b2b;
    --insta-light: #f3faf5;
}


/* Login Background */
#layout {
    background: var(--insta-light);
}


/* Login Box */
#login-form {
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.12);
}


/* Login Button */
#login-submit {
    background: var(--insta-green);
    border-color: var(--insta-green);
    border-radius: 25px;
    font-weight: 600;
}

#login-submit:hover {
    background: var(--insta-dark-green);
}


/* Input Fields */
.form-control {
    border-radius: 12px;
}


/* Compose Button */
#compose {
    background: var(--insta-green);
    border-radius: 25px;
    padding: 10px 22px;
}


/* Email Cards */
.message-list .message {
    border-radius: 14px;
    margin: 6px;
    padding: 8px;
}


/* Footer */
#layout-footer {
    text-align:center;
    opacity:.8;
}
/* ===================================
   Insta Group Modern Mail UI
   =================================== */


/* Gmail Style Compose Button */
#compose {
    border-radius: 28px !important;
    padding: 12px 24px !important;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}


/* Folder Area Modern Look */
#mailboxlist li {
    border-radius: 12px;
    margin: 4px 8px;
}


#mailboxlist li a {
    padding: 10px 14px;
}


/* Inbox Message Cards */
#messagelist tbody tr {
    border-radius: 14px;
    transition: .2s ease;
}


#messagelist tbody tr:hover {
    transform: translateY(-1px);
}


/* Message spacing */
#messagelist td {
    padding: 12px 10px;
}


/* Rounded Search Box */
#quicksearchbox {
    border-radius: 25px !important;
    padding-left: 18px;
}


/* User Avatar Circle */
#taskbar .button {
    border-radius: 50%;
}


/* Header modern spacing */
#layout-content {
    padding-top: 10px;
}


/* Empty white spaces improve */
.content {
    border-radius: 16px;
}


/* Footer Branding */
#layout-footer:after {
    content: " | Insta Group Pvt Ltd";
}
/* ===================================
   Insta Group Dashboard UI
   =================================== */


/* Main workspace card */
#layout-content,
#mailview-left,
#mailview-right {
    border-radius: 18px;
}


/* Top header */
#topline {
    padding: 8px 15px;
}


/* User area */
#topline .username {
    font-weight: 600;
}


/* Avatar circle */
#topline .avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}


/* Sidebar folders */
#mailboxlist {
    padding: 10px;
}


#mailboxlist li a {
    border-radius: 12px;
    transition: .2s;
}


#mailboxlist li a:hover {
    background: #f0faf3;
}


/* Inbox header */
#messagelist-header {
    border-radius: 15px 15px 0 0;
}


/* Email rows */
#messagelist tbody tr {
    border-bottom: 1px solid #eeeeee;
}


/* Selected email */
#messagelist tbody tr.selected {
    background: #f3faf5;
}


/* Footer */
#layout-footer {
    background: #ffffff;
    padding: 12px;
    border-top: 1px solid #eeeeee;
    text-align:center;
}


/* Company footer text */
#layout-footer:after {
    content:" © 2026 Insta Group Pvt Ltd | Secure Business Email";
    font-size:12px;
}
/* ===================================
   Insta Group Premium Login Design
   =================================== */


/* Login page background */
body.task-login {
    background: linear-gradient(
        135deg,
        #056b2b,
        #0b8f3c,
        #19b957
    ) !important;
}


/* Login container */
#login-form {
    background: #ffffff;
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 15px 45px rgba(0,0,0,.25);
}


/* Logo */
#logo img {
    max-width: 180px;
    margin-bottom: 20px;
}


/* Login title */
#login-form:before {
    content: "Insta Group Business Email";
    display:block;
    text-align:center;
    font-size:22px;
    font-weight:700;
    color:#056b2b;
    margin-bottom:20px;
}


/* Input boxes */
#login-form input {
    border-radius:14px !important;
    height:45px;
}


/* Login button */
#login-submit {
    width:100%;
    height:46px;
    border-radius:25px !important;
    background:#0b8f3c !important;
    border:none !important;
    font-weight:700;
}


/* Security text */
#login-form:after {
    content:"Secure Mail Service • Insta Group Pvt Ltd";
    display:block;
    text-align:center;
    margin-top:20px;
    font-size:12px;
    color:#777;
}


/* Mobile */
@media(max-width:600px){

    #login-form {
        margin:20px;
        padding:25px;
    }

}
/* ===================================
   Insta Group Gmail Style Inbox
   =================================== */


/* Compose Button */
#compose {
    background:#0b8f3c !important;
    color:#fff !important;
    border-radius:28px !important;
    padding:12px 28px !important;
    font-weight:700;
    box-shadow:0 6px 18px rgba(0,0,0,.18);
    transition:.2s;
}


#compose:hover {
    transform:translateY(-2px);
}


/* Search Bar */
#quicksearchbox {
    border-radius:30px !important;
    height:42px;
    padding-left:20px;
}


/* Message List Area */
#messagelist {
    border-radius:18px;
    overflow:hidden;
}


/* Email Rows */
#messagelist tbody tr {
    background:#fff;
    border-radius:14px;
    margin:8px;
    display:table-row;
    transition:.2s ease;
}


#messagelist tbody tr:hover {
    background:#f3faf5;
}


/* Email Text */
#messagelist td {
    padding:14px 12px !important;
}


/* Sender Avatar */
.avatar {
    width:38px;
    height:38px;
    border-radius:50%;
    background:#0b8f3c;
    color:white;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-weight:bold;
}


/* Selected mail */
#messagelist tr.selected {
    background:#eaf8ee !important;
}


/* Folder icons spacing */
#mailboxlist .mailbox {
    border-radius:12px;
    margin-bottom:5px;
}


/* Better toolbar */
#toolbar {
    border-radius:16px;
}
/* ===================================
   Insta Group Corporate Mail Suite
   =================================== */


/* Folder modern cards */
#mailboxlist li {
    margin:6px 10px;
}


#mailboxlist li a {
    border-radius:14px;
    padding:12px;
    font-weight:500;
}


#mailboxlist li.selected a {
    background:#eaf8ee !important;
    color:#056b2b !important;
}


/* Folder hover */
#mailboxlist li a:hover {
    background:#f3faf5;
}


/* Top user area */
#topline {
    background:#ffffff;
    border-bottom:1px solid #eee;
}


/* User name */
.username {
    font-weight:700;
    color:#056b2b;
}


/* Storage card */
.storage-info {
    background:#f3faf5;
    border-radius:16px;
    padding:15px;
    margin:10px;
}


/* Buttons */
.button {
    border-radius:14px;
}


/* Footer */
#layout-footer {
    background:#fff;
    color:#666;
    font-size:12px;
    padding:14px;
}


/* Corporate footer */
#layout-footer:after {
    content:"Insta Group Pvt Ltd | Professional Business Email Platform";
}


/* Mobile improvement */
@media(max-width:768px){

    #mailboxlist li a {
        padding:14px;
    }

    #compose {
        border-radius:30px;
    }

}
/* ===================================
   Insta Group Mail Dashboard
   =================================== */


/* Dashboard content */
#layout-content {
    background:#f7faf8;
}


/* Main cards */
.dashboard-card {
    background:#ffffff;
    border-radius:18px;
    padding:20px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    margin:15px;
}


/* Welcome Banner */
.welcome-banner {
    background:linear-gradient(
        135deg,
        #056b2b,
        #0b8f3c
    );
    color:white;
    border-radius:20px;
    padding:25px;
    margin:15px;
}


/* Quick buttons */
.quick-action {
    border-radius:18px;
    padding:15px;
    background:#ffffff;
    transition:.2s;
}


.quick-action:hover {
    transform:translateY(-3px);
}


/* Profile area */
.profile-card {
    border-radius:20px;
    background:white;
    padding:20px;
}


/* Avatar */
.user-avatar {
    width:60px;
    height:60px;
    border-radius:50%;
    background:#0b8f3c;
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    font-weight:bold;
}


/* Info cards */
.mail-stat {
    border-radius:16px;
    background:#f3faf5;
    padding:15px;
    text-align:center;
}


/* Mobile */
@media(max-width:768px){

.dashboard-card,
.welcome-banner {
    margin:10px;
    padding:18px;
}

}
/* Insta Dashboard Layout */

.insta-dashboard {
    padding:15px;
}

.welcome-banner h2 {
    margin:0;
    font-size:24px;
}

.dashboard-cards {
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.dashboard-card {
    flex:1;
    min-width:180px;
    background:#fff;
    border-radius:18px;
    padding:20px;
    box-shadow:0 5px 18px rgba(0,0,0,.08);
}
/* =================================
   Dashboard Layout Improvement
   ================================= */


.insta-dashboard {
    max-width:900px;
    margin:15px auto;
}


/* Welcome compact */
.welcome-banner {
    padding:20px !important;
    border-radius:18px;
}


/* Cards horizontal */
.dashboard-cards {
    display:grid !important;
    grid-template-columns:repeat(4,1fr);
    gap:15px;
}


.dashboard-card {
    min-height:120px;
    padding:18px !important;
}


/* Reduce font */
.dashboard-card h3 {
    font-size:20px;
}


.dashboard-card p {
    font-size:13px;
}


/* Responsive */
@media(max-width:900px){

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

}


@media(max-width:500px){

.dashboard-cards {
    grid-template-columns:1fr;
}

}
/* Insta Group Mail Theme */

/* General font */
body {
    font-family: Arial, sans-serif;
}

/* Login page */
#layout-content {
    background: #ffffff;
}

/* Logo */
#logo {
    max-height: 70px;
}

/* Green Insta Group buttons */
.btn-primary,
.button.mainaction,
#rcmcomposebutton {
    background: #0a8f3d !important;
    border-color: #0a8f3d !important;
    color: #ffffff !important;
}

/* Sidebar */
#layout-sidebar {
    background: #f5f7f5;
}

/* Selected mailbox */
#mailboxlist li.selected > a {
    background: #dff5e6 !important;
    color: #0a8f3d !important;
}

/* Toolbar */
.toolbar {
    border-bottom: 2px solid #0a8f3d;
}

/* Compose button Gmail style */
#rcmcomposebutton {
    border-radius: 20px !important;
    padding: 10px 20px !important;
}
/* ==============================
   Insta Group Mail Phase 12 UI
   ============================== */

.instagroup-menu {
    background: #0f3d32 !important;
}

.instagroup-menu .popover-header {
    background: #0f3d32 !important;
}

.instagroup-menu #logo {
    max-width: 120px;
    margin: 15px auto;
}

.insta-brand {
    text-align:center;
    padding:20px 10px;
    color:white;
}

.insta-brand h2 {
    font-size:22px;
    margin:0;
}

.insta-brand span {
    font-size:13px;
    opacity:.8;
}


.insta-compose {
    padding:10px;
}

.insta-compose .compose {
    background:#00a651 !important;
    color:white !important;
    border-radius:8px;
}


#taskmenu a {
    color:white !important;
}


#taskmenu a:hover,
#taskmenu .selected {
    background:#00a651 !important;
    color:white !important;
}


#layout-sidebar {
    background:#ffffff;
}


#layout-content h1 {
    font-size:28px;
    margin-top:20px;
}
