/*==================================================
 Dashboard
==================================================*/

.op-dashboard{
    max-width:1280px;
    margin:40px auto;
    padding:0 20px;
    font-family:Arial,Helvetica,sans-serif;
}

/* Make Add Meeting button smaller */
a[href*="add-meeting"],
.op-add-meeting,
.op-meeting-add-button {
	width: auto !important;
	max-width: 200px !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	padding: 10px 22px !important;
}

/*==================================================
 Header
==================================================*/

.op-dashboard-header{
    display:flex;
    align-items:center ;
    gap:30px;
    background:#ffffff;
    padding:30px;
    border-radius:20px;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
    margin-bottom:35px;
    padding:40px;
}

.op-avatar{
    flex-shrink:0;
}

.op-avatar img,
.op-member-photo{
   width:130px;
    height:130px;
    border-radius:50%;
    object-fit:cover;
    border:5px solid #ffffff;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
}

.op-user-details{
    flex:1;
}

.op-user-details h2{
    margin:0;
    font-size:42px;
    font-weight:700;
    color:#222;
}

.op-user-details p{
    margin:10px 0;
    font-size:18px;
    color:#777;
}

.op-member-id{
    display:inline-flex;
    align-items:center;
    padding:10px 18px;
    border-radius:30px;
    background:#f3effd;
    color:#4B2E83;
    font-size:14px;
    font-weight:700;
    margin-top:10px;
}

/*==================================================
 Statistics Cards
==================================================*/

.op-dashboard-cards{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
    margin-bottom:35px;
}

.op-card{
    background:#ffffff;
    border-radius:18px;
    padding:30px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:all .3s ease;
    border-top:5px solid #4B2E83;
     min-height:180px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.op-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,.12);
}

.op-card-icon{
    width:70px;
    height:70px;
    margin:0 auto 20px;
    border-radius:50%;
    background:#f3effd;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
}

.op-card h4{
    margin:0;
    color:#666;
    font-size:15px;
    font-weight:600;
}

.op-card p{
    margin-top:15px;
    font-size:30px;
    font-weight:700;
    color:#222;
}

.op-status-active{
    color:#16a34a;
}

/*==================================================
 Grid
==================================================*/

.op-dashboard-grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:30px;
    margin-bottom:35px;
}

.op-dashboard-section{
    background:#ffffff;
    border-radius:18px;
    padding:30px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.op-dashboard-section h3{
    margin:0 0 25px;
    font-size:24px;
    font-weight:700;
    color:#222;
}
/*==================================================
 Member Information
==================================================*/

.op-info-list{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.op-info-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px;
    border:1px solid #ececec;
    border-radius:10px;
    background:#fafafa;
    transition:all .3s ease;
}

.op-info-row:hover{
    background:#f3effd;
    border-color:#4B2E83;
    transform:translateX(5px);
}

.op-info-row span{
    font-size:15px;
    font-weight:600;
    color:#777;
}

.op-info-row strong{
    font-size:15px;
    font-weight:700;
    color:#222;
    text-align:right;
}

/*==================================================
 Quick Actions
==================================================*/

.op-actions{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.op-btn{
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    padding:18px 20px;
    background:#4B2E83;
    color:#ffffff;
    text-decoration:none;
    border-radius:14px;
    font-size:16px;
    font-weight:600;
    transition:all .3s ease;
    box-shadow:0 8px 20px rgba(75,46,131,.20);
}

.op-btn:hover{
    background:#36205d;
    color:#ffffff;
    transform:translateY(-4px);
    box-shadow:0 15px 35px rgba(75,46,131,.30);
}

.op-btn::after{
    content:"➜";
    font-size:18px;
    font-weight:bold;
}

.op-btn-danger{
    background:#dc2626;
    box-shadow:0 8px 20px rgba(220,38,38,.20);
}

.op-btn-danger:hover{
    background:#b91c1c;
    box-shadow:0 15px 35px rgba(220,38,38,.30);
}

/*==================================================
 Section Header
==================================================*/

.op-section-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
}

.op-view-all{
    color:#4B2E83;
    font-weight:700;
    text-decoration:none;
    transition:.3s;
}

.op-view-all:hover{
    color:#36205d;
    text-decoration:underline;
}
/*==================================================
 Recent Documents Table
==================================================*/

.op-table{
    width:100%;
    border-collapse:collapse;
    background:#fff;
    border-radius:16px;
    overflow:hidden;
}

.op-table thead{
    background:#4B2E83;
}

.op-table th{
    padding:18px;
    color:#fff;
    font-size:15px;
    font-weight:600;
    text-align:left;
}

.op-table td{
    padding:18px;
    border-bottom:1px solid #eeeeee;
    font-size:15px;
    color:#444;
}

.op-table tbody tr{
    transition:all .3s ease;
}

.op-table tbody tr:nth-child(even){
    background:#fafafa;
}

.op-table tbody tr:hover{
    background:#f3effd;
}

.op-table td a{
    color:#4B2E83;
    font-weight:600;
    text-decoration:none;
    margin-right:10px;
}

.op-table td a:hover{
    text-decoration:underline;
}

/*==================================================
 Status Badge
==================================================*/

.op-status-active{
    display:inline-block;
    background:#dcfce7;
    color:#15803d;
    padding:6px 14px;
    border-radius:30px;
    font-size:13px;
    font-weight:700;
}

.op-status-inactive{
    display:inline-block;
    background:#fee2e2;
    color:#dc2626;
    padding:6px 14px;
    border-radius:30px;
    font-size:13px;
    font-weight:700;
}

/*==================================================
 Scrollbar
==================================================*/

::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-thumb{
    background:#4B2E83;
    border-radius:20px;
}

::-webkit-scrollbar-track{
    background:#f5f5f5;
}

/*==================================================
 Animation
==================================================*/

.op-dashboard-header,
.op-card,
.op-dashboard-section{
    animation:fadeUp .6s ease;
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(20px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

/*==================================================
 Responsive
==================================================*/

@media (max-width:1024px){

    .op-dashboard-cards{
        grid-template-columns:repeat(2,1fr);
    }

    .op-dashboard-grid{
        grid-template-columns:1fr;
    }

}

@media (max-width:768px){

    .op-dashboard{
        padding:20px 15px;
    }

    .op-dashboard-header{
        flex-direction:column;
        text-align:center;
    }

    .op-user-details h2{
        font-size:28px;
    }

    .op-dashboard-cards{
        grid-template-columns:1fr;
    }

    .op-info-row{
        flex-direction:column;
        align-items:flex-start;
        gap:8px;
    }

    .op-btn{
        font-size:15px;
        padding:16px;
    }

}

@media (max-width:600px){

    .op-table{
        display:block;
        overflow-x:auto;
        white-space:nowrap;
    }

}

/*//board portal//*/
/* =========================================================
   Board Dashboard
   ========================================================= */

.op-board-dashboard {
	max-width: 1100px;
	margin: 40px auto;
	padding: 0 20px;
	font-family: inherit;
}

/* Header */
.op-board-dashboard .op-dashboard-header {
	display: flex;
	align-items: center;
	gap: 25px;
	background: #ffffff;
	padding: 30px;
	border-radius: 18px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
	margin-bottom: 25px;
}

.op-board-dashboard .op-avatar img {
	width: 110px;
	height: 110px;
	object-fit: cover;
	border-radius: 50%;
}

.op-board-dashboard .op-user-details h2 {
	margin: 0 0 8px;
	font-size: 32px;
	color: #222;
}

.op-board-dashboard .op-user-details p {
	margin: 0 0 12px;
	color: #777;
	font-size: 16px;
}

.op-board-dashboard .op-member-id {
	display: inline-block;
	background: #f1eaff;
	color: #4b2e83;
	padding: 7px 14px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
}

/* Statistics */
.op-board-dashboard .op-dashboard-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-bottom: 25px;
}

.op-board-dashboard .op-card {
	background: #fff;
	border-radius: 16px;
	padding: 25px;
	text-align: left;
	border-top: 4px solid #4b2e83;
	box-shadow: 0 6px 25px rgba(0, 0, 0, 0.07);
}

.op-board-dashboard .op-card-icon {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f3edff;
	border-radius: 50%;
	font-size: 22px;
	margin-bottom: 15px;
}

.op-board-dashboard .op-card h4 {
	margin: 0 0 10px;
	font-size: 14px;
	color: #555;
}

.op-board-dashboard .op-card p {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	color: #222;
}

/* Sections */
.op-board-dashboard .op-dashboard-section {
	background: #fff;
	padding: 28px;
	border-radius: 16px;
	box-shadow: 0 6px 25px rgba(0, 0, 0, 0.07);
	margin-bottom: 25px;
}

.op-board-dashboard .op-dashboard-section h3 {
	margin: 0 0 20px;
	font-size: 22px;
	color: #222;
}

/* Quick Actions */
.op-board-dashboard .op-actions {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
}

.op-board-dashboard .op-actions .op-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 14px 18px;
	background: #4b2e83;
	color: #fff;
	text-decoration: none;
	border-radius: 9px;
	font-weight: 600;
	transition: 0.2s ease;
}

.op-board-dashboard .op-actions .op-btn:hover {
	background: #38215f;
	transform: translateY(-1px);
}

.op-board-dashboard .op-actions .op-btn-danger {
	background: #e52b2b;
}

.op-board-dashboard .op-actions .op-btn-danger:hover {
	background: #c91f1f;
}

/* Section Header */
.op-board-dashboard .op-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
}

.op-board-dashboard .op-section-header h3 {
	margin: 0;
}

.op-board-dashboard .op-section-header a {
	color: #4b2e83;
	font-weight: 600;
	text-decoration: underline;
}

/* Table */
.op-board-dashboard .op-table {
	width: 100%;
	border-collapse: collapse;
	overflow: hidden;
	border-radius: 10px;
}

.op-board-dashboard .op-table th {
	background: #4b2e83;
	color: #fff;
	padding: 14px;
	text-align: left;
	font-size: 14px;
}

.op-board-dashboard .op-table td {
	padding: 14px;
	border-bottom: 1px solid #e5e5e5;
	color: #444;
}

.op-board-dashboard .op-table tbody tr:hover {
	background: #faf8ff;
}

.op-board-dashboard .op-table a {
	color: #4b2e83;
	font-weight: 600;
	text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {

	.op-board-dashboard {
		margin: 25px auto;
		padding: 0 15px;
	}

	.op-board-dashboard .op-dashboard-header {
		flex-direction: column;
		align-items: flex-start;
		padding: 22px;
	}

	.op-board-dashboard .op-user-details h2 {
		font-size: 26px;
	}

	.op-board-dashboard .op-dashboard-cards {
		grid-template-columns: 1fr;
	}

	.op-board-dashboard .op-actions {
		grid-template-columns: 1fr;
	}

	.op-board-dashboard .op-table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}

}