.dmc-card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    font-family: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dmc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.dmc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    min-height: 50px;
}

.dmc-logo {
    flex: 0 0 auto;
    margin-right: 15px;
}

.dmc-logo img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

/* Ensure logo takes left side even if image missing to keep layout */
.dmc-logo-placeholder {
	width: 50px; /* Approximate width */
}

.dmc-card-heading {
    flex: 1;
    text-align: right;
}

.dmc-card-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
}

.dmc-body {
    text-align: left;
}

.dmc-name {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

.dmc-details {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 15px;
}

.dmc-detail-row {
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.dmc-detail-row:last-child {
    margin-bottom: 0;
}

/* Specific styling for Role Row to include Status */
.dmc-role-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.dmc-value {
    font-weight: 600;
}

.dmc-status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    white-space: nowrap;
    display: inline-block;
}

.dmc-renew-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    margin-top: 20px;
    background-color: #dc3545;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.2s ease;
    font-size: 14px;
}

.dmc-renew-btn:hover {
    background-color: #c82333;
    color: white;
}

/* Wallet Area Styling */
.dmc-wallet-area {
	margin-top: 15px;
	text-align: center;
}
